Installation and Integration
Quick Demo Start
After installing the license, simply run one of the delivered scripts: 'start-demo.sh' (under Unix based systems), or 'start-demo.bat' (under Windows systems).
Detailed API information is available through the corresponding javadoc documentation.
- lemmatizer.jar (archive file containing code)
- XYZnLemmatizer.tra (Compiled transducer data)
- XYZnLemmatizer.tab (Feature table)
- com/canoo/wmtrans/lemmatizer/XYZIntegrationDemo.java (source File used to test and show the integration in your own code)
Please note: XYZ in these file names will be either Ger, Eng or Ita, representing the language of your product. The n in the string XYZn will be either 1 (if you use the evaluation version of this product) or 3 (if you use the full version).
If you are using a licensed version, extract the file "license.cfg" from the received license archive "license.zip" and move it into the same directory as the jar file.
If you have a proxy server, configure your LanguageTools product using the delivered ProxyConf program, which
the file "proxy.cfg" in the same directory as the jar file. Anonymous and basic authentication protocols are
Here is how to call it:
java -cp lemmatizer.jar com.canoo.wmtrans.util.ProxyConf
Alternatively, you can provide following customized System properties:
Installing and Running Integration Test
To install and run the integration test:
Compile the integration test file
javac -classpath .:lemmatizer.jar com/canoo/wmtrans/lemmatizer/XYZIntegrationDemo.java
Run the integration test program
java -cp .:lemmatizer.jar com.canoo.wmtrans.lemmatizer.XYZIntegrationDemo XYZnLemmatizer.tra XYZnLemmatizer.tabwhere XYZnLemmatizer.tra and XYZnLemmatizer.tab represent the two delivered data documents.
(Please note that Unix/Linux and Windows use different classpath seperators:
Unix/Linux => ':', Windows => ';')