]> gitweb.fperrin.net Git - Dictionary.git/blob - readme.txt
Add a very basic readme.
[Dictionary.git] / readme.txt
1 Make sure you also checked out the Util repository,
2 and if you want to generate dictionaries also the DictionaryPC
3 repository.
4 They need 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
9 And approximation of the steps for generating dictionaries:
10 - go into the DictionaryPC repository
11 - run data/downloadInputs.sh to get the data
12 - run ./compile.sh (probably needs quite a few things to be installed or paths in it configured)
13 - run ./WiktionarySplitter.sh
14 - run ./generate_dictionaries.sh.
15   You might want to edit the settings at the start of the file
16   so it does not generate all dictionaries, and edit its input files
17   like EN-trans-dictlist.txt to add new dictionaries.
18   For a more manual approach, the commands it runs are something like
19  ./run.sh --lang1=ES --lang2=PT --lang1Stoplist=data/inputs/stoplists/es.txt \
20  --dictOut=data/outputs/ES-PT.quickdic \
21  --dictInfo="(EN)Wiktionary-based ES-PT dictionary. --input1=data/inputs/wikiSplit/en/EN.data" \
22  --input1Name=enwikitionary --input1Format=EnTranslationToTranslation \
23  --input1LangPattern1=es --input1LangPattern2=pt