日本語による感情分析用Javaライブラリです。
OS: Java をサポートする Windows または Unix 系 OS
JVM: Java 6 またはそれ以降
yonaga.jar をクラスパスに通して使用して下さい。
このモジュールには動作に必要な以下の依存モジュールが同封されています。
lucene-gosen-4.4.0-ipadic.jar: 形態素解析ライブラリ
Yonaga.init();
Sentence sentence = Yonaga.analyze("分析する文字列");
Sentenceモデルには分析する文字列、文字列全体での重み付け、文節ごとの重み付け一覧が含まれています。
単語の感情極性分類には高村大也氏(東京工業大学)のSemantic Orientations of Wordsを利用させていただきました。詳細は下記参考文献の通りです。記して感謝いたします。
Hiroya Takamura, Takashi Inui, Manabu Okumura, "Extracting Semantic Orientations of Words using Spin Model", In Proceedings of the 43rd Annual Meeting of the Association for Computational Linguistics (ACL2005) , pages 133--140, 2005.