Skip to content

saghan/sentiment-analysis-in-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sentiment-analysis-in-python

'positive_negative.py' is the main file. This is my first attempt to analyze sentiment in a text. It says whether the text has positive sentiment or negative based on the adjectives present in it. File 'positive_words.txt' contains list of positive words. File 'negative_words.txt' contains list of negative words. 'input_file.txt' is the input text file.

The program recognizes 'not' before an adjective to appropriately tag the following adjective. For ex: "He is not a good boy." is tagged as negative

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages