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
{{ message }}
This repository was archived by the owner on Feb 1, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 1, 2020. It is now read-only.
Hello. Dictionary tool has 4 MB limit (I guess because of 22 bit address). Is it possible to use it for large dictionaries like Turkish language with XML file size of 20 MB?
Same question for 10 MB large file words.xml for the Dutch language with less than 400.000 words. The Dutch language uses a lot of compounds that need to be included explicitly in the dictionary.
When I run LanguagePack-Dutch$ java -jar ../AnySoftKeyboardTools/makedict/makedict.jar I get the following error:
Reading words from input /home/***/workspace/LanguagePack-Dutch/dict/words.xml
Will store output files under /home/***/workspace/LanguagePack-Dutch/res/raw
Deleting previous versions...
Nodes = 1292442
Exception in thread "main" java.lang.reflect.InvocationTargetException
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.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 4194304
at MakeBinaryDictionary.addNode(MakeBinaryDictionary.java:290)
at MakeBinaryDictionary.writeWordsRec(MakeBinaryDictionary.java:343)
at MakeBinaryDictionary.writeWordsRec(MakeBinaryDictionary.java:349)
at MakeBinaryDictionary.writeWordsRec(MakeBinaryDictionary.java:349)
at MakeBinaryDictionary.writeWordsRec(MakeBinaryDictionary.java:349)
at MakeBinaryDictionary.writeWordsRec(MakeBinaryDictionary.java:349)
at MakeBinaryDictionary.writeWordsRec(MakeBinaryDictionary.java:349)
at MakeBinaryDictionary.writeWordsRec(MakeBinaryDictionary.java:349)
at MakeBinaryDictionary.writeWordsRec(MakeBinaryDictionary.java:349)
at MakeBinaryDictionary.writeWordsRec(MakeBinaryDictionary.java:349)
at MakeBinaryDictionary.writeWordsRec(MakeBinaryDictionary.java:349)
at MakeBinaryDictionary.writeWordsRec(MakeBinaryDictionary.java:349)
at MakeBinaryDictionary.writeToDict(MakeBinaryDictionary.java:361)
at MakeBinaryDictionary.<init>(MakeBinaryDictionary.java:161)
at MakeBinaryDictionary.main(MakeBinaryDictionary.java:99)
... 5 more
Is this related to the 4 MB limit or another issue?
Activity
SvGeloven commentedon Apr 13, 2016
Same question for 10 MB large file words.xml for the Dutch language with less than 400.000 words. The Dutch language uses a lot of compounds that need to be included explicitly in the dictionary.
SvGeloven commentedon Apr 13, 2016
When I run
LanguagePack-Dutch$ java -jar ../AnySoftKeyboardTools/makedict/makedict.jarI get the following error:Is this related to the 4 MB limit or another issue?
PanderMusubi commentedon Jun 27, 2017
Is there any progress on this please?