我尝试完全按照文档中的示例以及从这篇文章中的解决方案从 windows cmd 运行 Mallet 我不断收到此错误,可能是什么问题?
c:\>java -cp "C:\mallet-2.0.7\class;C:\mallet-2.0.7\lib\mallet-deps.jar" cc.mallet.fst.SimpleTagger --model-file c:\mallet-2.0.7 c:\mallet-2.0.7\sample.txt
Exception in thread "main" java.io.FileNotFoundException: c:\mallet-2.0.7 (Access is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at cc.mallet.fst.SimpleTagger.main(SimpleTagger.java:519)