Yonaga

日本語による感情分析用Javaライブラリです。

View project onGitHub

ダウンロード

yonaga.jar をダウンロードしてご利用下さい。

使い方

使い方等についてはGitHubのプロジェクトページを参照して下さい。

サンプル

以下のフォームに判定をしたい文字列を入力して『送信する』を押すと、結果が表示されます。

結果

結果の取得にはhttp://calmrikyuapi.herokuapp.com/をAPIサーバとして利用しています。
以下のように直接呼ぶことも可能です。

http://calmrikyuapi.herokuapp.com/?q=<判定したい文字列>&callback=<callback関数>

謝辞

単語の感情極性分類には高村大也氏(東京工業大学)の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.