既存の ant-buildfile オプションで lingpipe を開き、PolarityBasic.java をパッケージに入れるパッケージを作成します。
変更しmPolarityDir=new file("Desktop/POLARITY_DIR/txt_sentoken")
たり、ファイルを含む文字列を作成したりしても、同じエラーが発生します。
Data Directory=POLARITY_DIR/txt_sentoken
Thrown: java.lang.NullPointerException
java.lang.NullPointerException
http://alias-i.com/lingpipe/web/download.html lingpipe-4.1.0