Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid format at buildLexicon #35

Closed
kira7 opened this issue Mar 7, 2018 · 2 comments
Closed

invalid format at buildLexicon #35

kira7 opened this issue Mar 7, 2018 · 2 comments

Comments

@kira7
Copy link

kira7 commented Mar 7, 2018

Thanks for developing this tool. I tried to install Sudachi on a CentOS 6 server. I tried 'mvn package' but ended up with the following message. Files downloaded in './target/dictionary/unidic-mecab-2.1.2_src' seems to be OK. Is there any specific file that I should check?

[INFO] --- iterator-maven-plugin:0.5.1:iterator (build-system-dictionary) @ sudachi ---
[INFO] ------ (core) org.codehaus.mojo:exec-maven-plugin:1.6.0:java
reading the source file...Error: invalid format at line 1
[WARNING]
java.lang.IllegalArgumentException: invalid format
    at com.worksap.nlp.sudachi.dictionary.DictionaryBuilder.buildLexicon (DictionaryBuilder.java:114)
    at com.worksap.nlp.sudachi.dictionary.DictionaryBuilder.build (DictionaryBuilder.java:89)
    at com.worksap.nlp.sudachi.dictionary.DictionaryBuilder.main (DictionaryBuilder.java:432)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:497)
    at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:282)
    at java.lang.Thread.run (Thread.java:745)
@kazuma-t
Copy link
Member

kazuma-t commented Mar 8, 2018

We use Git LFS because the sources of dictionaries are very large. Would you try it out instead of git checkout?

@kira7
Copy link
Author

kira7 commented Mar 8, 2018

Thanks for your suggestion. I then find the related information in @ichiren1 san's Qiita blog. I follow the steps of git lfs pull and then mvn package successfully.

@kira7 kira7 closed this as completed Mar 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants