Skip to content

Nextremer/extended-embedding-pub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages