#include <locutions.h>
Inheritance diagram for locutions:
Public Member Functions | |
locutions (const maco_options &) | |
Constructor. | |
Private Member Functions | |
void | check (const string, list< string > &, bool &, bool &) |
int | ComputeToken (int, sentence::const_iterator, const sentence &) |
Compute the right token code for word j from given state. | |
void | ResetActions () |
Reset current multiword acumulator. | |
void | StateActions (int, int, int, sentence::const_iterator) |
Perform necessary actions in "state" reached from state "origin" via word j interpreted as code "token": Basically, when reaching a state, update accumulated multiword. | |
void | SetMultiwordAnalysis (sentence::iterator) const |
Set the appropriate lemma and parole for the new multiword. | |
Private Attributes | |
map< string, string > | locut |
store multiword list | |
set< string > | prefixes |
store multiword prefixes | |
list< string > | acc_mw |
partially build multiword. | |
list< string > | longest_mw |
vector< word > | components |
store mw components in case we need to recover them |
|
Constructor.
|
|
|
|
Compute the right token code for word j from given state.
Implements automat. |
|
Reset current multiword acumulator.
Implements automat. |
|
Set the appropriate lemma and parole for the new multiword.
Implements automat. |
|
Perform necessary actions in "state" reached from state "origin" via word j interpreted as code "token": Basically, when reaching a state, update accumulated multiword.
Implements automat. |
|
partially build multiword.
|
|
store mw components in case we need to recover them
|
|
store multiword list
|
|
|
|
store multiword prefixes
|