An open API service indexing awesome lists of open source software.

https://github.com/ysenarath/opinion-lab

A place where opinions are experimented!
https://github.com/ysenarath/opinion-lab

cnn deep-learning iest implicit-emotion lstm natural-language-processing nlp opinion-mining opinions sentiment-analysis wassa wassa-2018

Last synced: 12 days ago
JSON representation

A place where opinions are experimented!

Awesome Lists containing this project

README

        

# [Opinion Lab](https://ysenarath.github.io/opinion-lab/)

The repository contains codebase for building state-of-the-art deep learning techniques for opinion mining.

Currenly following models have been created and tested:

* Models for IEST @ WASSA-2018 [FNN, CNN, LSTM, CNN-LSTM, LSTM-CNN ++]

## Prerequisites
1. Related resources for featureizers (only if you are using them) (ex: lexicons, word-embedding models)
2. Some python knowledge

## Setup the Lab
1. Install [`textkit-learn`](https://github.com/ysenarath/textkit-learn/releases/tag/v0.2)
2. Configure path to resources in [`oplab/config.py`](https://github.com/ysenarath/opinion-lab/blob/master/oplab/config.py)
3. Happy Experimenting!

## How to Start
* To train a model its simple as calling
`python oplab train -c [config_file] -m [model_path]`

* To evaluate just
`python oplab evaluate -m [model_path] -e [evaluation_metrics] -o [predictions_file]`

## Licensing
* Code is under [Apache License 2.0](https://github.com/ysenarath/opinion-lab/blob/master/LICENSE).
* Model (releases) are under [Creative Commons Attribution - Non Commercial 2.0 Generic](https://creativecommons.org/licenses/by-nc/2.0/uk/legalcode) license.