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

java.lang.RuntimeException: Could not load dictionaries. Caused by: java.io.IOException: Classpath resource not found: fst.bin #110

Open
proninalex opened this issue Sep 27, 2016 · 0 comments

Comments

@proninalex
Copy link

kuromoji-ipadic-1.0-SNAPSHOT.jar

09-27 11:22:12.361 E/AndroidRuntime( 1075): java.lang.RuntimeException: Could not load dictionaries.

09-27 11:22:12.361 E/AndroidRuntime( 1075): at ant.a(Unknown Source)

09-27 11:22:12.361 E/AndroidRuntime( 1075): at com.atilika.kuromoji.TokenizerBase.a(Unknown Source)

09-27 11:22:12.361 E/AndroidRuntime( 1075): at ans.(Unknown Source)

09-27 11:22:12.361 E/AndroidRuntime( 1075): at ans.(Unknown Source)

09-27 11:22:12.361 E/AndroidRuntime( 1075): at aoy.(Unknown Source)

09-27 11:22:12.361 E/AndroidRuntime( 1075): at aoy.a(Unknown Source)

09-27 11:22:12.361 E/AndroidRuntime( 1075): at aoz.(Unknown Source)

09-27 11:22:12.361 E/AndroidRuntime( 1075): at amw.a(Unknown Source)

09-27 11:22:12.361 E/AndroidRuntime( 1075): at amh.run(Unknown Source)

09-27 11:22:12.361 E/AndroidRuntime( 1075): at java.lang.Thread.run(Thread.java:818)

09-27 11:22:12.361 E/AndroidRuntime( 1075): Caused by: java.io.IOException: Classpath resource not found: fst.bin

09-27 11:22:12.361 E/AndroidRuntime( 1075): at anz.a(Unknown Source)

09-27 11:22:12.361 E/AndroidRuntime( 1075): at ann.a(Unknown Source)

09-27 11:22:12.361 E/AndroidRuntime( 1075): ... 10 more

Exception in
Tokenizer loadDictionaries() in this.fst = FST.newInstance(this.resolver);

fst.bin presents in wear-app.apk:/com/atilika/kuromoji/ipadic

apk structure
-resources.arsc
-classes.dex
-AndroidManifest.xml
----res/
----META-INF/
----assets/
----com/atilika/kuromoji/ipadic/*.bin

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

1 participant