FreeLing  3.0
Public Member Functions | Private Member Functions
numbers_default Class Reference

The derived class numbers_default implements a default number recognizer (only numbers in digits are recognized). More...

#include <numbers_modules.h>

Inheritance diagram for numbers_default:
Inheritance graph
[legend]
Collaboration diagram for numbers_default:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 numbers_default (const std::wstring &, const std::wstring &)
 Constructor.

Private Member Functions

int ComputeToken (int, sentence::iterator &, sentence &)
 pure virtual function to be provided by the child class.
void StateActions (int, int, int, sentence::const_iterator)
 pure virtual function to be provided by the child class.
void SetMultiwordAnalysis (sentence::iterator, int)
 pure virtual function to be provided by the child class.

Detailed Description

The derived class numbers_default implements a default number recognizer (only numbers in digits are recognized).


Constructor & Destructor Documentation

numbers_default::numbers_default ( const std::wstring &  ,
const std::wstring &   
)

Constructor.


Member Function Documentation

int numbers_default::ComputeToken ( int  ,
sentence::iterator &  ,
sentence  
) [private, virtual]

pure virtual function to be provided by the child class.

Computes token code for current word in current state.

Implements automat.

void numbers_default::SetMultiwordAnalysis ( sentence::iterator  ,
int   
) [private, virtual]

pure virtual function to be provided by the child class.

Sets analysis for pattern identified as a multiword.

Implements automat.

void numbers_default::StateActions ( int  ,
int  ,
int  ,
sentence::const_iterator   
) [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 automat.


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