Matxin linearisation with the statistical text generator

From Apertium
Revision as of 03:25, 13 January 2017 by M5w (talk | contribs)
Jump to navigation Jump to search

Prerequisites

You will need Apache Ant, the Java Development Kit (JDK), and Java. On Ubuntu or any other Debian-based operating system, you can simply install the ant package from APT, and APT will automatically install Java and the JDK.

Building

Once you have cloned the repository, simply run

$ ant

from its root directory. Ant will automatically compile and jar all the classes.

Usage

We use Ant to run the project's programs. Ant, however, cannot forward command-line arguments to programs on its own, so we use a simple wrapper script.

./run.sh [CLASS] [ARGS]...

CLASS is the name of the main class---that is, the class that contains the main function that you want to execute.