diff options
| author | aarne <aarne@chalmers.se> | 2015-06-02 12:59:29 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2015-06-02 12:59:29 +0000 |
| commit | 3643e20406abf83d2a41d8d46dd5c66237ef1727 (patch) | |
| tree | 0256c6bfd6b2a4b356ff5a648763b15d96c2cd48 /examples/slowApp/README | |
| parent | eb07e4e8622e11087c5f6c14cd35d1575fcea3a8 (diff) | |
copied examples/app to examples/slowApp; the new app is a bit scaled down but much faster
Diffstat (limited to 'examples/slowApp/README')
| -rw-r--r-- | examples/slowApp/README | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/examples/slowApp/README b/examples/slowApp/README new file mode 100644 index 000000000..3f62cbea8 --- /dev/null +++ b/examples/slowApp/README @@ -0,0 +1,36 @@ +Grammar for coloured translation app. + +(c) Aarne Ranta 2014 under GPL. Last modified 6/5/2014. + +1. Make sure you have the latest RGL compiled and available. Test this for instance in GF shell by typing + + import alltenses/LangEng.gfo + +2. Check that you have the following file structure, which holds in the standard GF +repository (darcs or github): + + GF/lib/src/translator -- the translator extensions of RGL + GF/lib/src/german -- German RGL sources, needed for DictGer (morphological Dict) + GF/lib/src/finnish -- Finnish RGL sources, needed for StemFin + GF/lib/src/finnish/stemmed -- StemFin, a special file for compact Finnish runtime + GF/lib/src/api -- Syntax sources + GF/lib/src/chunk -- Chunk sources + GF/examples/phrasebook -- Phrasebook sources + GF/examples/app -- App sources (this directory) + +3. Do 'make' and take a cup of coffee. If you have multiple cores, do first 'make Phrasebook' and then 'make -j App11.pgf' and take an espresso. + +4. Go to GF/src/ui/android and follow the README + +5. Before the final 'ant debug install', do the following: + + cd assets/ + rm *pgf* + cp -p <Your-GF>/examples/app/App11.pgf . + gf -make -split-pgf App11.pgf +RTS -K200M + rm App11.pgf + cd .. + ant debug install + +Removing superfluous pgf files is recommended, because otherwise they will be copied to the app and +increase its size unnecessarily. |
