The easy way: Using the analyze script

To ease the invocation of the program, a script named analyze (no final r) is provided. This is script is able to locate default configuration files, define library search paths, and decide whether you want the client-server or the straight version.

The sample main program is called with the command:

 analyze [port-number] [-f config-file] [options]

If port-number is ommited, the analyzer is started in straight mode. If a port number is provided, a server will be launched to accept socket connections on that port.

If -f config-file is not specified, a file named analyzer.cfg is searched in the current working directory.

If -f config-file is specified but not found in the current directory, it will be searched in FreeLing installation directory (/usr/local/share/FreeLing/config if you installed from source, and /usr/share/FreeLing if you used a binary .deb package).

Extra options may be specified in the command line to override any settings in config-file. See section 5.3.1 for details.



Subsections
Lluís Padró 2010-09-02