]> gitweb.fperrin.net Git - Dictionary.git/blob - readme.txt
Bump version once more.
[Dictionary.git] / readme.txt
1 Make sure you use the --recursive option to clone, or otherwise
2 make sure the Util submodule is correctly checked out.
3 If you want to generate dictionaries also manually clone the DictionaryPC
4 repository, it needs to be at the same level as this one, not inside it.
5
6 To compile the APK, just open this repository in Android Studio.
7 You can also use gradle directly.
8 Note that compilation is only tested on Linux.
9 It is possible to disable the smallicu/makesmallicu step if it causes
10 issues, though help to debug any such issue would be welcome.
11
12 And approximation of the steps for generating dictionaries:
13 - go into the DictionaryPC repository
14 - run data/downloadInputs.sh to get the data
15 - run ./compile.sh (probably needs quite a few things to be installed or paths in it configured)
16 - run ./WiktionarySplitter.sh
17 - run ./generate_dictionaries.sh.
18   You might want to edit the settings at the start of the file
19   so it does not generate all dictionaries, and edit its input files
20   like EN-trans-dictlist.txt to add new dictionaries.
21   For a more manual approach, the commands it runs are something like
22  ./run.sh --lang1=ES --lang2=PT --lang1Stoplist=data/inputs/stoplists/es.txt \
23  --dictOut=data/outputs/ES-PT.quickdic \
24  --dictInfo="(EN)Wiktionary-based ES-PT dictionary. --input1=data/inputs/wikiSplit/en/EN.data" \
25  --input1Name=enwikitionary --input1Format=EnTranslationToTranslation \
26  --input1LangPattern1=es --input1LangPattern2=pt