What steps will reproduce the problem?
1.我用eclipse新建了工程,然后把lib里的jar导进去,还有fudannlp
.jar也导进去
2.把models放进去
3.运行示例代码,报错。模型文件不存在: ./models/ar_model.gz
What is the expected output? What do you see instead?
模型文件不存在: ./models/ar_model.gz
java.io.FileNotFoundException: .\models\ar_model.gz
(系统找不到指定的文件。)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at edu.fudan.ml.classifier.linear.Linear.loadFrom(Unknown Source)
at edu.fudan.data.reader.AR_Reader.main(Unknown Source)
Exception in thread "main" edu.fudan.util.exception.LoadModelException:
java.io.FileNotFoundException: .\models\ar_model.gz
(系统找不到指定的文件。)
at edu.fudan.ml.classifier.linear.Linear.loadFrom(Unknown Source)
at edu.fudan.data.reader.AR_Reader.main(Unknown Source)
Caused by: java.io.FileNotFoundException: .\models\ar_model.gz
(系统找不到指定的文件。)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
... 2 more
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by zllzhang...@gmail.com on 13 Apr 2015 at 12:19
Original issue reported on code.google.com by
zllzhang...@gmail.com
on 13 Apr 2015 at 12:19