We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This code to see if a token has a corresponding AFINN label: if (!labels.hasOwnProperty(obj)) continue;
if (!labels.hasOwnProperty(obj)) continue;
in many non English language does not work for inflected words.
In English you say: "the cat is stupid" and "the cats are stupid" (btw cats are smart! :D )
In French you say: "le chat est stupide" and "les chats sont stupides". The stemmed word "stupid" is flected into stupide and stupides.
if we use "stupid" in the labels, the scoring is never done. Using all the possible inflected words is tedious and long.
may be you could change the line of code to take into account stemmed (or truncated) words?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This code to see if a token has a corresponding AFINN label:
if (!labels.hasOwnProperty(obj)) continue;
in many non English language does not work for inflected words.
In English you say: "the cat is stupid" and "the cats are stupid" (btw cats are smart! :D )
In French you say: "le chat est stupide" and "les chats sont stupides".
The stemmed word "stupid" is flected into stupide and stupides.
if we use "stupid" in the labels, the scoring is never done. Using all the possible inflected words is tedious and long.
may be you could change the line of code to take into account stemmed (or truncated) words?
The text was updated successfully, but these errors were encountered: