Increasing Accuracy of Sentiment Classification Using Negation Handling
The function for the negation handler is available at my Github repo. An example of the function output is shown below. 'Negation' is the main function being called on the tokenized sentence as shown. In the function, whenever a negation word (like'not', "n't", 'non-', 'un-', etc) is encountered, a set of cognitive synonyms called synsets are generated for the word next to the negation. These synsets are interlinked by conceptual semantic and lexical relations to each other in a lexical database called WordNet.
May-31-2022, 01:05:16 GMT
- Technology: