All Projects → kai3n → sentiment-analysis-imdb

kai3n / sentiment-analysis-imdb

Licence: other
This is a classifier focused on sentiment analysis of movie reviews

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to sentiment-analysis-imdb

Senti4SD
An emotion-polarity classifier specifically trained on developers' communication channels
Stars: ✭ 41 (+272.73%)
Mutual labels:  sentiment-analysis, sentiment-classifier
Text tone analyzer
Система, анализирующая тональность текстов и высказываний.
Stars: ✭ 15 (+36.36%)
Mutual labels:  sentiment-analysis, sentiment-classifier
sentiment-analysis2
Sentiment ananlysis in keras and mxnet
Stars: ✭ 37 (+236.36%)
Mutual labels:  sentiment-analysis
Emotion and Polarity SO
An emotion classifier of text containing technical content from the SE domain
Stars: ✭ 74 (+572.73%)
Mutual labels:  sentiment-analysis
sarcasm-detection-for-sentiment-analysis
Sarcasm Detection for Sentiment Analysis
Stars: ✭ 21 (+90.91%)
Mutual labels:  sentiment-analysis
stansent
No description or website provided.
Stars: ✭ 16 (+45.45%)
Mutual labels:  sentiment-analysis
tf-sentiment-docker
A docker image for sentiment analysis on tensorflow
Stars: ✭ 15 (+36.36%)
Mutual labels:  sentiment-analysis
pysentimiento
A Python multilingual toolkit for Sentiment Analysis and Social NLP tasks
Stars: ✭ 274 (+2390.91%)
Mutual labels:  sentiment-analysis
soroka
Узнай, хорошо или плохо говорят о тебе или твоей фирме в Интернете! Наша "Сорока" с искусственным интеллектом принесёт тебе это на своём хвосте.
Stars: ✭ 16 (+45.45%)
Mutual labels:  sentiment-analysis
GroupDocs.Classification-for-.NET
GroupDocs.Classification-for-.NET samples and showcase (text and documents classification and sentiment analysis)
Stars: ✭ 38 (+245.45%)
Mutual labels:  sentiment-analysis
sentimentAnalysisLab
This lab is about how to add the AI and ML cloud service feature to your web application with React and the Amplify Framework.
Stars: ✭ 78 (+609.09%)
Mutual labels:  sentiment-analysis
sentiment-analysis-using-python
Large Data Analysis Course Project
Stars: ✭ 23 (+109.09%)
Mutual labels:  sentiment-analysis
tutorials
A tutorial series by Preferred.AI
Stars: ✭ 136 (+1136.36%)
Mutual labels:  sentiment-analysis
awesome-text-classification
Text classification meets word embeddings.
Stars: ✭ 27 (+145.45%)
Mutual labels:  sentiment-analysis
sentiment-analysis-webapp
[不再更新]中文短文本情感分析 web 应用 | A web app about Chinese sentences sentiment analysis
Stars: ✭ 33 (+200%)
Mutual labels:  sentiment-analysis
twitter-sentiment-analysis
Streaming tweets with spark, language detection & sentiment analysis, dashboard with Kibana
Stars: ✭ 100 (+809.09%)
Mutual labels:  sentiment-analysis
sentiment.datalogue
Sentiment analysis challenge for Datalogue recruiting
Stars: ✭ 14 (+27.27%)
Mutual labels:  sentiment-analysis
wink-nlp
Developer friendly Natural Language Processing ✨
Stars: ✭ 312 (+2736.36%)
Mutual labels:  sentiment-analysis
arabic-sentiment-analysis
Sentiment Analysis in Arabic tweets
Stars: ✭ 64 (+481.82%)
Mutual labels:  sentiment-analysis
Real Time DataMining Software
携程/榛果民宿实时评论挖掘软件,包含数据的实时采集/数据清洗/结构化保存/ UGC 数据主题提取/情感分析/后结构化可视化等技术的综合性演示 Demo。基于在线民宿 UGC 数据的意见挖掘项目,包含数据挖掘和 NLP 相关的处理,负责数据采集、主题抽取、情感分析等任务。主要克服用户打分和评论不一致,实时对携程和美团在线民宿的满意度进行评测以及对额外数据进行可视化的综合性工具,多维度的对在线 UGC 进行数据挖掘并可视化,demo 视频演示见链接。
Stars: ✭ 43 (+290.91%)
Mutual labels:  sentiment-analysis

Sentiment Analysis project with imdb

The goal of this project is to analys your sentiment through the review typed on the page. If the background turns into green, that means you have the positive review. Red is the opposite. This project acheived 91% accuracy.

Getting Started

Demo server is based on Flask. To run the server, execute demo_server.py

python demo_server.py

Next, once you go to the root page of your server, you will get the simple page. You can just type the review of what you watched recently for the test.

good bad

Prerequisites

This open source is based on Python 3.5

pip install -r requirement.txt

IMDb Dataset: http://ai.stanford.edu/~amaas/data/sentiment/

GloVe pre-trained vector: https://nlp.stanford.edu/projects/glove/

Training

if __name__ == "__main__":
	manager = Manager(ngram_range=2)
    manager.load_dataset()
    model = CNNModel().build(embedding_matrix=manager.embedding_matrix,
                             max_features=manager.max_features).model
    manager.train(model)
    manager.store_model("cnn_and_bi-gram")

To train a model, go to manager.py, and then we need to set up some parameters. An n-gram is a contiguous sequence of n items from a given sequence of text. You can set the range through ngram_range From my experience, I recommend you to use bi-gram, ngram_range=2. embedding_matrix means pre-trained matrix. Some model doesn't use this parameter. In that case, you need to remove that parameter. You don't need to consider max_features Lastly, your trained-model will be stored by the parameter of store.model method. In this example, cnn_and_bi-gram will be your filename.

Using my model

if __name__ == '__main__':
    movie_review_classifier = Classifier(filename="cnn_and_bi-gram_90.484acc_model")
    movie_review_classifier.build()

    app.run(
        host="0.0.0.0",
        port=int("8888")
    )

Once you trained, you would get your own model. In this example, I will use the cnn model that has 90.484 accuracy. Go to demo_server.py and set up your model. Make sure you should take off the file extension. That's all. Run it!!:)

Running the tests

Coming soon.

Contributing

Welcome!

Authors

  • James Pak

License

This project is licensed under Gridspace.

Acknowledgments

  • Word embedding
  • DNNs
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].