You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is either a problem with the project setup or with documentation. After compiling the Java binding, running java test gives this error:
Exception in thread "main" java.lang.RuntimeException: feature_index.cpp(193) [mmap_.open(model_filename)] c:\workspace\crfpp\mmap.h(111) [hFile != INVALID_HANDLE_VALUE] CreateFile() failed: ../model
at org.chasen.crfpp.CRFPPJNI.new_Tagger(Native Method)
at org.chasen.crfpp.Tagger.<init>(Tagger.java:183)
at test.main(test.java:6)
The file test.java uses a hard-coded path, ../model, which does not exist. The documentation in the README file in the java directory also says to use -d ../dic, which not only does not exist, but is also ignored inside of the test file.
The text was updated successfully, but these errors were encountered:
This is either a problem with the project setup or with documentation. After compiling the Java binding, running
java test
gives this error:The file
test.java
uses a hard-coded path,../model
, which does not exist. The documentation in the README file in the java directory also says to use-d ../dic
, which not only does not exist, but is also ignored inside of the test file.The text was updated successfully, but these errors were encountered: