Skip to content

wangjiosw/Sentiment-Analysis-by-Capsules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RNNCapsule

A pytorch implemention of "Sentiment Analysis by Capsules"

Environment

  • python 3.7
  • pytorch
  • torchtext
  • nltk
  • spacy

Download project

git clone https://github.com/wangjiosw/Sentiment-Analysis-by-Capsules.git
cd Sentiment-Analysis-by-Capsules

Get Movie Review Data

bash download.sh

Load data and store as ".csv" format

python pre.py

train

python Train.py

result

best accuracy: 71.04%

not completed yet

About

A pytorch implemention of "Sentiment Analysis by Capsules"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published