#include <suffixes.h>
Collaboration diagram for suffixes:
Public Member Functions | |
suffixes (const maco_options &) | |
Constructor. | |
void | look_for_suffixes (word &, dictionary &) const |
look up possible roots of a suffixed form | |
Private Member Functions | |
void | look_for_suffixes_in_list (const multimap< string, sufrule > &, word &, dictionary &) const |
auxiliary methods to deal with suffixing | |
vector< string > | GenerateRoots (const sufrule &, const string &) const |
auxiliary methods to deal with suffixing | |
void | SearchRootsList (const vector< string > &, const sufrule &, word &, dictionary &) const |
auxiliary methods to deal with suffixing | |
void | CheckRetokenizable (const sufrule &, const string &, const string &, const string &, dictionary &, list< word > &) const |
auxiliary method to deal with retokenization | |
Private Attributes | |
accents | accen |
Language-specific accent handler. | |
multimap< string, sufrule > | suffix |
all suffixation rules | |
multimap< string, sufrule > | suffix_always |
suffixation rules applied unconditionally | |
set< unsigned int > | ExistingLength |
array of existing suffix lengths. | |
unsigned int | LongestSuf |
Length of longest suffix. |
|
Constructor.
|
|
auxiliary method to deal with retokenization
|
|
auxiliary methods to deal with suffixing
|
|
look up possible roots of a suffixed form Words already analyzed are only applied the "always"-marked suffix rules. So-far unrecognized words, are applied all the sufix rules. |
|
auxiliary methods to deal with suffixing
|
|
auxiliary methods to deal with suffixing
|
|
Language-specific accent handler.
|
|
array of existing suffix lengths.
|
|
Length of longest suffix.
|
|
all suffixation rules
|
|
suffixation rules applied unconditionally
|