LanguageTools Inflection Analyzer:
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).

API Documentation

Detailed API information is available through the corresponding javadoc documentation.

Delivered Files

  • analyzer.jar (archive file containing code)
  • XYZnAnalyzer.tra (Compiled transducer data)
  • XYZnAnalyzer.tab (Feature table)
  • com/canoo/wmtrans/analyzer/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, Ita or Fre, 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).

License Installation

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 Configuration

If 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 analyzer.jar com.canoo.wmtrans.util.ProxyConf

Alternatively, you can provide following customized System properties:

  • http.proxyHost
  • http.proxyPort
  • http.proxyPlainAuthentication

Installing and Running Integration Test

To install and run the integration test:

  • Compile the integration test file
    javac -classpath .:analyzer.jar 
          com/canoo/wmtrans/analyzer/XYZIntegrationDemo.java
    
  • Run the integration test program
    java -cp .:analyzer.jar 
           com.canoo.wmtrans.analyzer.XYZIntegrationDemo
    	 XYZnAnalyzer.tra XYZnAnalyzer.tab
    
    where XYZnAnalyzer.tra and XYZnAnalyzer.tab represent the two delivered data documents.
    (Please note that Unix/Linux and Windows use different classpath seperators:
    Unix/Linux => ':', Windows => ';')