Skip to content

DemetreJou/movie-review-sentiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple flask wrapper around a pretrained model

Trained on this dataset https://www.kaggle.com/c/sentiment-analysis-on-movie-reviews/data

Setup

cd into top level folder

docker build --tag sentiment-analysis -f Dockerfile .

docker run --env PORT=5000 sentiment-analysis

Endpoint

endpoint is /api/v1/get_sentiment?phrase=example phrase

returns one of

  • NEGATIVE
  • SOMEWHAT_NEGATIVE
  • NEUTRAL
  • SOMEWHAT_POSITIVE
  • POSITIVE

About

API to interact with machine learning model to predict sentiment from movie review

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages