FreeLing  3.0
Public Member Functions | Private Attributes
quantities Class Reference

Class quantities implements a wrapper to transparently create and access a quantities_module monetary expressions detector for the appropriate language. More...

#include <quantities.h>

Collaboration diagram for quantities:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 quantities (const std::wstring &, const std::wstring &)
 Constructor.
 ~quantities ()
 Destructor.
void analyze (sentence &)
 analyze given sentence
void analyze (std::list< sentence > &)
 analyze given sentences
sentence analyze (const sentence &)
 analyze sentence, return analyzed copy
std::list< sentenceanalyze (const std::list< sentence > &)
 analyze sentences, return analyzed copy

Private Attributes

quantities_modulewho
 remember which module is doing the real work.

Detailed Description

Class quantities implements a wrapper to transparently create and access a quantities_module monetary expressions detector for the appropriate language.


Constructor & Destructor Documentation

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

Constructor.

Destructor.


Member Function Documentation

analyze given sentence

Referenced by maco::analyze().

void quantities::analyze ( std::list< sentence > &  )

analyze given sentences

analyze sentence, return analyzed copy

std::list<sentence> quantities::analyze ( const std::list< sentence > &  )

analyze sentences, return analyzed copy


Member Data Documentation

remember which module is doing the real work.


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