Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add basic sentiment negation #16
This is a pretty simple change that seems to work quite well for most inputs to handle negation.
This accounts for the different between things like "I love cats" and "I don't love cats", "I can't love cats", "I won't love cats".
This approach could be extended to also include double negatives, but let's leave it simple for now.
While this implementation doesn't answer many of the questions raised in #23 - it does appear to work, and might be a good candidate for inclusion, with unit-tests, while the more complicated solution is banged out.
Especially since this has been sitting around for a year.