gpt4 book ai didi

java - 如何修复 lingpipe java 错误

转载 作者:行者123 更新时间:2023-12-01 11:33:10 25 4
gpt4 key购买 nike

我在现有的 ant-buildfile 选项下打开 lingpipe,然后创建一个包将 PolarityBasic.java 放入包中
我确实更改了mPolarityDir=new file("Desktop/POLARITY_DIR/txt_sentoken")或者甚至创建了一个包含该文件的字符串,仍然是相同的错误< br/>

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

最佳答案

相对路径需要存在于您调用命令的目录中。

关于java - 如何修复 lingpipe java 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30262405/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com