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
- recognizer.jar (archive file containing code)
- XYZnRecognizer.fsa (Compiled FSA data)
- com/canoo/wmtrans/recognizer/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.
Proxy ConfigurationIf you have a proxy server, configure your LanguageTools product using the delivered ProxyConf program, which will generate the file "proxy.cfg" in the same directory as the jar file. Anonymous and basic authentication protocols are supported.
Here is how to call it:
java -cp recognizer.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 .:recognizer.jar com/canoo/wmtrans/lemmatizer/XYZIntegrationDemo.java
Run the integration test program
java -cp .:recognizer.jar com.canoo.wmtrans.recognizer.XYZIntegrationDemo XYZnRecognizer.fsawhere XYZnRecognizer.fsa represents the delivered data document.
(Please note that Unix/Linux and Windows use different classpath seperators:
Unix/Linux => ':', Windows => ';')