X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=README.md;h=b8cf5495e0b14aa722ae0b085e63902165f5bd0e;hb=8a4bb75be2e165be16d9d8e345d0dca5aca169ad;hp=b840adb9d546ce006f0b9589d21037b2ee6bd116;hpb=6a362da7f5a73d76545daecc35fde78e16c67a55;p=Dictionary.git diff --git a/README.md b/README.md index b840adb..b8cf549 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,22 @@ +# QuickDic +An offline dictionary for Android. + +## Cloning Make sure you use the `--recursive` option to clone, or otherwise make sure the `Util` submodule is correctly checked out. If you want to generate dictionaries, clone the DictionaryPC repository as well. It needs to be at the same level as this one, not inside it. + +## Compiling To compile the APK, just open this repository in Android Studio. You can also use Gradle directly. Note that compilation is only tested on Linux. It is possible to disable the smallicu/makesmallicu step if it causes issues, though help to debug any such issue would be welcome. +## Generating dictionaries And approximation of the steps for generating dictionaries: 1. Go into the DictionaryPC repository 2. Run `data/downloadInputs.sh` to get the data @@ -22,6 +29,6 @@ And approximation of the steps for generating dictionaries: For a more manual approach, the commands it runs are something like `./run.sh --lang1=ES --lang2=PT --lang1Stoplist=data/inputs/stoplists/es.txt \ --dictOut=data/outputs/ES-PT.quickdic \ - --dictInfo="(EN)Wiktionary-based ES-PT dictionary. --input1=data/inputs/wikiSplit/en/EN.data" \ + --dictInfo="(EN)Wiktionary-based ES-PT dictionary." --input1=data/inputs/wikiSplit/en/EN.data \ --input1Name=enwikitionary --input1Format=EnTranslationToTranslation \ --input1LangPattern1=es --input1LangPattern2=pt`