LanguageTools Unknown Word 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

  • adhocAnalyzer.jar (archive file containing code)
  • GerNAdHoc-surface.fsa (Compiled surface information)
  • GerNAdHoc-surface.tab (Feaure table)
  • GerNAdHoc-rules.tra (Compiled rules information)
  • GerNAdHoc-rules.tab (Feature table)
  • GerNAdHoc-rules.triple (Help table)
  • GerNAdHoc-citsuffix.tra (Suffix transducer)
  • GerNAdHoc-citsuffix.tab (Suffix info table)
  • GerNAdHoc-analyzer.tra (Compiled lexicalized data)
  • GerNAdHoc-analyzer.tab (Feature table)
  • GerNAdHoc-postfilters.xml (Compiled lexicalized data)
  • GerNWFHistory.tra (Compiled lexicalized word formation information)
  • GerNWFHistory.tab (Lexicalized word formation feature table)
  • com/canoo/wmtrans/adhocanalyzer/IntegrationDemo.java (source File used to test and show the integration in your own code)

Please note: In these file names, the N in the string GerN 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 the 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.

To call ProxyConf:

java -cp 
  adhocAnalyzer.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

The integration test can be run using the delivered script, as explained previously. To customize, install and run the delivered integration demo class:

  • Compile the integration demo file:
    javac -classpath .:adhocAnalyzer.jar 
        com/canoo/wmtrans/adhocanalyzer/IntegrationDemo.java
    
  • Run the integration demo program:
    java -cp .:adhocAnalyzer.jar 
          com.canoo.wmtrans.adhocanalyzer.IntegrationDemo
        GerNAdHoc-surface.fsa  GerNAdHoc-surface.tab 
        GerNAdHoc-rules.tra 
          GerNAdHoc-rules.tab GerNAdHoc-rules.triple
        GerNAdHoc-citsuffix.tra GerNAdHoc-citsuffix.tab
        GerNAdHoc-analyzer.tra GerNAdHoc-analyzer.tab
        GerNAdHoc-postfilters.xml GerNWFHistory.tra GerNWFHistory.tab
    

    (Please note that Unix/Linux and Windows use different classpath seperators:
    Unix/Linux => ':', Windows => ';')