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
Hi!
In jSentiments.py, in polarScores_text(), you are processing each sentence by:
jSentiments.py
polarScores_text()
for sent in text.split(u'。'): etc.
This part actually crashes when you have an empty sentence coming in, that we can protect using:
for sent in text.split(u'。'): if len(sent.strip()) == 0: continue etc.
The text was updated successfully, but these errors were encountered:
Merge pull request #12 from kevincobain2000/bugfix/#8
68b2627
continue if line has no period
No branches or pull requests
Hi!
In
jSentiments.py
, inpolarScores_text()
, you are processing each sentence by:This part actually crashes when you have an empty sentence coming in, that we can protect using:
The text was updated successfully, but these errors were encountered: