...
Clone Joshua from its git repository.
Code Block language bash git clone https://github.com/apache/incubator-joshua joshua
Set the Joshua root dir, then compile Joshua and install dependencies.
Code Block language bash cd joshua export JOSHUA=$(pwd) # add this to your ~/.bashrc, too echo "export JOSHUA=$JOSHUA" >> ~/.bashrc # compile Joshua, run tests, and build the jar file mvn compile assembly:singlepackage # Download dependencies used for building and running models bash download-deps.sh
The "download-deps.sh" will download and compile utilities that are used by Joshua. These include the alignment tool GIZA++ and the symal tool, the Berkeley aligner and the KenLM runtime library, and Thrax, Joshua's grammar extractor.
Run the unit tests to make sure that everything's working.
Code Block mvn testlanguage bash
Assuming everything compiled correctly, you are all set and you are probably ready to progress to the Joshua Tutorial. If you wish to help develop Joshua, see the Development page.
...