Android port of Whitakers Works, morphological analysis tool and dictionary for Latin
Branch: master
Clone or download
Latest commit 529066d Jan 24, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis Travis deploy fixes Sep 3, 2018
gradle/wrapper Bump gradle Jul 23, 2018
graphics
src/main Remove unused imports Sep 12, 2018
words Remove .dockerignore, since Dockerfile is no longer in this repo Sep 3, 2018
.gitignore Do not include prebuilt words Sep 3, 2018
.travis.yml travis: use "depth: false" instead of "get checkout --unshallow" Oct 26, 2018
LICENSE Copyright date Jan 24, 2019
README.md Fix typo Sep 3, 2018
build-words-docker.sh Add script to download from bintray; plus small docker build changes Sep 3, 2018
build.gradle Use dokka to generate some documentation Aug 8, 2018
fetch-words-bintray.sh Add script to download from bintray; plus small docker build changes Sep 3, 2018
gradlew Update gradle wrapper Jun 9, 2016
gradlew.bat Update gradle wrapper Jun 9, 2016
words.LICENSE

README.md

Whitaker's Words for Android

Build Status

words is a dictionary and morphological analysis tool by Colonel William Whitaker for Latin that accepts words of any form and gives the case/tense/etc. along with a short definition. This app provides a native Android interface that wraps the original command line program.

This app is on Google Play.

License

Whitaker's Ada code is under the license in the words.LICENSE file, while all the code here is under the MIT license.

Compiling

Downloading or building the words executable and data files

Building the Ada code is problematic, since Android's NDK only supports C and C++. The words directory has scripts for building a copy of GCC with Ada support, targeting Android. Moreover, it has data files that need to be build, and potentially differ by architecture. So the build script here uses qemu to generate those.

To provide such I toolchain, I've built a docker image, which you can download and use, or build yourself (given enough CPU time and disk space). Prebuilt copies of words, automatically built by Travis CI, are available on Bintray.

To compile this app, you'll need to obtain a copy of words in one of two ways:

Download prebuilt words from Bintray:

./fetch-words-bintray.sh

Or, download the docker image and build words:

./build-words-docker.sh

Compiling the app

This uses the standard gradle build system for Android, so any documentation on that will apply, or you can use Android Studio.

For instance, ./gradlew installDebug will build the app and install it on your device.