Skip to content

Add new word doesnt work @JWHennessey/phpInsight #26

@jazwethinkweizm

Description

@jazwethinkweizm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions