No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
datasets
.gitignore
LICENSE
README.md
char2radical.py
create_vocab.py
radcal_classifier.py

README.md

extended-embedding-pub

Sentiment Analysis by radical(of Japanese kanji character)-level encoder.

This encoder refers to following paper.

Environment

  • OS: Ubuntu 16.04.4 LTS
  • GPU: GeForce GTX 1080
  • Python: 3.6.5
  • Chainer: 4.2.0
  • MeCab: 0.996 (split sentence to words)

Usage

Directory configuration as follows.

├── create_vocab.py
├── radical_classifier.py
├── char2radical.py
└── datasets
    ├── radical_dic.csv
    └── set [train/test datasets]

Make vocabulary-dictionary of your datasets with the ./datasets/radical_dic.csv

python create_vocab.py

Edit Hyper-parameter, Run training script with the generated file.

python radical_classifier.py

Licence

MIT

Author

syunna5