|
FreeLing
4.0
|
This template is used by numbers, quantities, dates, and ner classes to dinamycally create the appropriate subclass of numbers_module, quantities_module, dates_module, or ner_module (according to received options). More...
#include <factory.h>

Public Member Functions | |
| factory () | |
| Constructor, the module is created by the class deriving the factory. | |
| ~factory () | |
| Destructor, delete the module. | |
| void | analyze (sentence &s) const |
| analyze given sentence, calling the created module | |
| void | analyze (std::list< sentence > &ls) const |
| analyze given sentences, calling the created module | |
| sentence | analyze (const sentence &s) const |
| analyze given sentence, calling the created module, return copy | |
| std::list< sentence > | analyze (const std::list< sentence > &ls) const |
| analyze given sentences, calling the created module, return copy | |
| void | analyze (document &d) const |
| analyze given document, calling the created module | |
| document | analyze (const document &d) const |
| analyze given document, calling the created module, return copy | |
Protected Attributes | |
| T * | who |
| remember which module is doing the real work. | |
This template is used by numbers, quantities, dates, and ner classes to dinamycally create the appropriate subclass of numbers_module, quantities_module, dates_module, or ner_module (according to received options).
| freeling::factory< T >::factory | ( | ) | [inline] |
Constructor, the module is created by the class deriving the factory.
| freeling::factory< T >::~factory | ( | ) | [inline] |
Destructor, delete the module.
| void freeling::factory< T >::analyze | ( | sentence & | s | ) | const [inline] |
analyze given sentence, calling the created module
| void freeling::factory< T >::analyze | ( | std::list< sentence > & | ls | ) | const [inline] |
analyze given sentences, calling the created module
| sentence freeling::factory< T >::analyze | ( | const sentence & | s | ) | const [inline] |
analyze given sentence, calling the created module, return copy
| std::list<sentence> freeling::factory< T >::analyze | ( | const std::list< sentence > & | ls | ) | const [inline] |
analyze given sentences, calling the created module, return copy
| void freeling::factory< T >::analyze | ( | document & | d | ) | const [inline] |
analyze given document, calling the created module
| document freeling::factory< T >::analyze | ( | const document & | d | ) | const [inline] |
analyze given document, calling the created module, return copy
T* freeling::factory< T >::who [protected] |
remember which module is doing the real work.
Referenced by freeling::factory< quantities_module >::analyze(), and freeling::factory< quantities_module >::~factory().
1.7.6.1