Skip to content

This Package gives the polarity score of a text, negative score indicates negative emotions and vice versa. Where 0 is neutral score

Notifications You must be signed in to change notification settings

rahultejwani/Polarity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polarity

This Package gives the polarity score of a text between -1 to 1. Where 0 is neutral score

Example code to use the library: String check = "today is a bright sunny day and I am excited :) "; FeatureExtractionPolarity fep = new FeatureExtractionPolarity(check); System.out.println("Polarity Score : "+ fep.getFinalScore()); System.out.println("*********************************************************");

About

This Package gives the polarity score of a text, negative score indicates negative emotions and vice versa. Where 0 is neutral score

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published