我在现有的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.NullPointerExceptionhttp://alias-i.com/lingpipe/web/download.html lingpipe-4.1.0
发布于 2015-06-17 04:49:13
相对路径需要存在于调用该命令的目录中。
https://stackoverflow.com/questions/30262405
复制相似问题