Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

dictionary Class Reference

The class dictionary implements dictionary search and suffix analysis for word forms. More...

#include <dictionary.h>

Collaboration diagram for dictionary:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 dictionary (const maco_options &)
 Constructor.
 ~dictionary ()
 Destructor.
void search_form (const string &, list< analysis > &)
 Get the analysis list from a given form (default options).
void annotate (sentence &)
 Search words in sentence using default options.

Private Member Functions

void annotate_word (word &)
 Fills the analysis list of a word and checks for suffixes.
bool check_contracted (const word &, list< word > &)
 check whether the word is a contraction, and if so, fill the list with the contracted words

Private Attributes

bool MACO_SuffixAnalysis
 configuration options
suffixes suf
 suffix analyzer
Db morfodb
 C++ Interface to BerkeleyDB C API.

Detailed Description

The class dictionary implements dictionary search and suffix analysis for word forms.


Constructor & Destructor Documentation

dictionary::dictionary const maco_options  ) 
 

Constructor.

dictionary::~dictionary  ) 
 

Destructor.


Member Function Documentation

void dictionary::annotate sentence  ) 
 

Search words in sentence using default options.

void dictionary::annotate_word word  )  [private]
 

Fills the analysis list of a word and checks for suffixes.

bool dictionary::check_contracted const word ,
list< word > & 
[private]
 

check whether the word is a contraction, and if so, fill the list with the contracted words

void dictionary::search_form const string &  ,
list< analysis > & 
 

Get the analysis list from a given form (default options).


Member Data Documentation

bool dictionary::MACO_SuffixAnalysis [private]
 

configuration options

Db dictionary::morfodb [private]
 

C++ Interface to BerkeleyDB C API.

suffixes dictionary::suf [private]
 

suffix analyzer


The documentation for this class was generated from the following files:
Generated on Wed Apr 26 12:58:05 2006 for FreeLing by  doxygen 1.4.4