Drogon simplifies the usage of Apache Joshua by providing Docker images with Joshua and all of its dependencies. Simply pull the latest runtime container from Docker Hub, and you're ready to get started.
docker run -it jwoo11/drogon:runtimeThe above command drops you into a container in which $JOSHUA is installed at /opt/joshua. You can now train models as usual using the Joshua pipeline. If your data is on the host machine, you can make it accessible to the container by mounting a volume:
docker run -it -v /path/to/data:/data jwoo11/drogon:runtimeIf you don't have a model readily available, you can play with the test image, which includes a Spanish-English model trained on the Fisher and CALLHOME dataset. Running the following command sends the test data through the translation engine. It takes a while to run, but it can be interrupted at any time with Ctrl+C.
docker run -it jwoo11/drogon:testYou can execute commands in the container by appending them to the run command as follows:
docker run -it jwoo11/drogon:test bashThis command drops you into the container, where you can see the trained model /models/es-en/1/test/model along with the associated dataset /models/es-en/1/data and language pack /models/es-en/releases/.