My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members

Convert SentiWordNet v3.0 CSV(TSV) to SQLite3 Database file

Usage: SWN3toSQLite.py [options]

Options:
  -h, --help            show this help message and exit
  -i FILE, --input=FILE
                        Original CSV file
  -o FILE, --output=FILE
                        Sqlite3 file

Dump SentiWordNet v3.0(SQLite3 file) via Japanese WordNet

Options:
  -h, --help            show this help message and exit
  -l NUM, --limit=NUM   limit of records
  -o ORDER, --order=ORDER
                        sort order (postive or negative)
  -y SYNSET, --synset=SYNSET
                        dump based on synset (ex.01586752-a)
  -p POS, --pos=POS     dump based on part-of-speech (ex.a)
  -d FILE, --dict=FILE  Japanese WordNet
  -s FILE, --senti=FILE SentiWordNet SQLite3 file

Dump Result (--pos=a --order=positive --limit=5)

00438332-a,1,0,soft,mild,balmy,穏やか
01586752-a,1,0,good,好い,いい,良い,善い,好
02227663-a,1,0,mean
02343110-a,1,0,excellent,first-class,splendid,fantabulous,
目覚ましい,妙々たる,上々,輝かしい,目ざましい,精良,素適,素晴しい,
素晴らしい,優等,優秀,妙妙たる,御前上等,上等,すてき,優良,目覚しい,
見事,天晴れ,妙,エクセレント,あっぱれ,エクサレント,御膳上等,上上,
尤,立派,優れた
02344672-a,1,0,top-hole,top-flight,topping,高級
Powered by Google Project Hosting