Giter Club home page Giter Club logo

valence's Introduction

Project Statistical Models of the Emotionality of Speech and Written Text (2011-2014) was supported by the National Programme for Estonian Language Technology (2011-2017) of the Estonian Ministry of Education and Research.

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.

Files:

  • valence/korpus.csv - corpus for training the NLTK model
  • valence/sqnad.csv - dictionary of Estonian words
  • valence/bayes.py - NLTK wrapper
  • valence/valencecolor.py - main program

If you use the corpora valence/korpus.csv, valence/sqnad.csv in your work, please cite the following paper:

Pajupuu, Hille; Altrov, Rene; Pajupuu, Jaan (2016). Identifying polarity in different text types. Folklore. Electronic Journal of Folklore, 64, 25โˆ’42. DOI PDF

valence's People

Contributors

sheee avatar ekt1 avatar

Stargazers

Roland Pihlakas avatar Mikk Meelak avatar The Ranger avatar

Watchers

Kaarel Kaljurand avatar Roland Pihlakas avatar  avatar

valence's Issues

Documentation and source code missing

There is a GPLv3 licence file and a one-sentence README mentioning the project's name and supporter, but otherwise the repository has no content.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.