Please use DOI in citation: https://doi.org/10.15155/3-00-0000-0000-0000-079D4L
This is a program classifying an Estonian text as positive, neutral or negative. It is running on server http://peeter.eki.ee:5000/valence
This code is optimized for server environment but can be run also as a standalone program:
python valencecolor.py textfile.txt
This will produce a file textfile.txt.html where all emotionally relevant word are marked with CSS style. The limitation is that it does not print out the summary information. As a prerequisite the NLTK must be installed on the computer.
People who downloaded this resource also downloaded the following: