Hi,
thanks a lot for this project! I am using the QuickDic android app and wanted to build a new translation dictionary (French-Breton).
First question is: there is no need for me to parse the english wiktionary, so is there a way to avoid processing it? (especially because it's a big one, 1.1 GB compressed).
At the moment, if I run ./WiktionarySplitter.sh without the file, I get the error:
Exception during parse, lastPageTitle=null, titleBuilder=null of file data/inputs/enwiktionary-pages-articles.xml
Exception in thread "main" java.io.FileNotFoundException: /home/gullumluvl/programTestingArea/DictionaryPC/data/inputs/enwiktionary-pages-articles.xml (No such file or directory)
[...]
at com.hughes.android.dictionary.engine.WiktionarySplitter.go(WiktionarySplitter.java:126)
at com.hughes.android.dictionary.engine.WiktionarySplitter.main(WiktionarySplitter.java:70)
at com.hughes.android.dictionary.engine.Runner.main(Runner.java:27)
For your information, I downloaded the compiled binary of DictionaryPC. I am on Ubuntu 20.04 and I installed libicu4j-java, libcommons-lang3-java, libcommons-text-java, libcommons-compress-java with apt. I had to modify the shell scripts to set ICU4J=/usr/share/java/icu4j-60.2.jar.
After downloading the english wiktionary, it now fails because of the german wiktionary missing file. How can we skip them?
Thanks for your help!
Hi,
thanks a lot for this project! I am using the QuickDic android app and wanted to build a new translation dictionary (French-Breton).
First question is: there is no need for me to parse the english wiktionary, so is there a way to avoid processing it? (especially because it's a big one, 1.1 GB compressed).
At the moment, if I run
./WiktionarySplitter.shwithout the file, I get the error:For your information, I downloaded the compiled binary of DictionaryPC. I am on Ubuntu 20.04 and I installed
libicu4j-java,libcommons-lang3-java,libcommons-text-java,libcommons-compress-javawithapt. I had to modify the shell scripts to setICU4J=/usr/share/java/icu4j-60.2.jar.After downloading the english wiktionary, it now fails because of the german wiktionary missing file. How can we skip them?
Thanks for your help!