-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
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
information about sentiment analysis algorithm #415
Comments
related to a question in issue #412 |
Internal working of TextBlob Sentiment Analysis Library:Pattern Sentiment Analysis library is used by Textblob internally for sentiment Analysis. Pattern is a rule based algorithm and it uses knowledge base defined in You can refer this video for more details on how textblob sentiment score is calculated: Sentiment score database -- https://github.com/sloria/TextBlob/blob/6396e24e85af7462cbed648fee21db5082a1f3fb/textblob/en/en-sentiment.xml You can add new words into this XML file based on your use-case and the word will get included and corresponding sentiment will be visible on reloading the environment. For example lets add the word
Then on reloading and re-running Textblob Sentiment analysis source code: Line 661 in 6396e24
|
Is any information available such as publication or corpus used for training?
The text was updated successfully, but these errors were encountered: