FreeLing  4.0
Public Member Functions | Private Member Functions
freeling::numbers_ca Class Reference

The derived class numbers_ca implements a Catalan number recognizer. More...

#include <numbers_modules.h>

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

List of all members.

Public Member Functions

 numbers_ca (const std::wstring &, const std::wstring &)
 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, numbers_status *) const
 pure virtual function to be provided by the child class.
void SetMultiwordAnalysis (sentence::iterator, int, const numbers_status *) const
 pure virtual function to be provided by the child class.

Detailed Description

The derived class numbers_ca implements a Catalan number recognizer.


Constructor & Destructor Documentation

freeling::numbers_ca::numbers_ca ( const std::wstring &  ,
const std::wstring &   
)

Constructor.


Member Function Documentation

int freeling::numbers_ca::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< numbers_status >.

void freeling::numbers_ca::SetMultiwordAnalysis ( sentence::iterator  ,
int  ,
const numbers_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< numbers_status >.

void freeling::numbers_ca::StateActions ( int  ,
int  ,
int  ,
sentence::const_iterator  ,
numbers_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< numbers_status >.


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