Analysis Modules

In this chapter, each of the modules in FreeLing are described.

A typical module receives a list of sentences, and enriches its words with new analysis.

Usually, when the module is instantiated, it receives as a parameter the name of a file where the information and/or parameters needed by the module is stored (e.g. a dictionary file for the dictionary search module, or a CFG grammar for a parser module).

Most modules are language-independent, that is, if the provided file contains data for another language, the same module will be able to process that language.

If an application needs to process more than one language, it can instantiate the needed modules for each language, just calling the constructors with different data files as a parameter.



Subsections

Lluís Padró 2010-09-02