phpInsight
phpInsight copied to clipboard
Add new word doesnt work @JWHennessey/phpInsight
I just insert new word on your array negative word in lib/PHPInsight/dictionaries/source.neg.php, then i try to test it, output should be negative, but it doesn't work, it generates neutral. Am i make any mistake step here ? and what is inside data folder ? do the data there still count to consider ?
I also try this method : the word that i insert to lib/PHPInsight/dictionaries/source.neg.php (e.g. new-word), i insert it also on lib/PHPInsight/data/data.neg.php, with change the value a:9095:{ -> a:9096:{ and add -> i:9095;s:10:"new-word"; before last } it wont works. Any suggestions please ?
Thanks for your help.