FreeLing  4.0
Public Member Functions | Private Member Functions | Private Attributes
freeling::dates_cy Class Reference

#include <dates_modules.h>

Inheritance diagram for freeling::dates_cy:
Inheritance graph
[legend]
Collaboration diagram for freeling::dates_cy:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 dates_cy ()
 Constructor.

Private Member Functions

int ComputeToken (int, sentence::iterator &, sentence &) const
 pure virtual function to be provided by the child class.
void StateActions (int, int, int, sentence::const_iterator, dates_status *) const
 pure virtual function to be provided by the child class.
void SetMultiwordAnalysis (sentence::iterator, int, const dates_status *) const
 pure virtual function to be provided by the child class.
std::wstring tokenName (const int token) const
std::wstring stateName (const int state) const

Private Attributes

std::map< int, std::wstring > stateNames
std::map< int, std::wstring > tokenNames

Constructor & Destructor Documentation

Constructor.


Member Function Documentation

int freeling::dates_cy::ComputeToken ( int  ,
sentence::iterator &  ,
sentence  
) const [private, virtual]

pure virtual function to be provided by the child class.

Computes token code for current word in current state.

Implements freeling::automat< dates_status >.

void freeling::dates_cy::SetMultiwordAnalysis ( sentence::iterator  ,
int  ,
const dates_status  
) const [private, virtual]

pure virtual function to be provided by the child class.

Sets analysis for pattern identified as a multiword.

Implements freeling::automat< dates_status >.

void freeling::dates_cy::StateActions ( int  ,
int  ,
int  ,
sentence::const_iterator  ,
dates_status  
) const [private, virtual]

pure virtual function to be provided by the child class.

Performs appropriate internal actions, given origin and destinanation states, token code and word.

Implements freeling::automat< dates_status >.

std::wstring freeling::dates_cy::stateName ( const int  state) const [private]
std::wstring freeling::dates_cy::tokenName ( const int  token) const [private]

Member Data Documentation

std::map<int, std::wstring> freeling::dates_cy::stateNames [private]
std::map<int, std::wstring> freeling::dates_cy::tokenNames [private]

The documentation for this class was generated from the following file: