Twitterボットを作る場合、単純にワードを引っ掛けるタイプであればいいのですが、目的の話題を持ったツイートだけを引っ掛けたいと思った場合、どうしても人が書いたツイートを解析して・・・という処理が必要になります。そうすると、形態素解析という技術が必要になってくるのですが、Javaの場合はSenがあります。 Sen Sen は、Java で実装された形態素解析器で、工藤拓さんによりオープンソース(LGPL)で 開発されている形態素解析器MecabをJavaへポーティングしたライブラリです。 Senとは - はてなキーワード もともとは工藤氏が公開したMecabというライブラリでそれをJava版に氏が移植したらしい。ちなみにMecabとはあのメカブが好きというところからきているらしい。僕も好きっていうのは秘密さ。 Senのライブラリをこちらからダウンロードする。 https://sen.de