|
FreeLing
3.0
|
Class numbers implements a punctuation sign recognizer. More...
#include <punts.h>


Public Member Functions | |
| punts (const std::wstring &) | |
| Constructor. | |
| virtual | ~punts () |
| 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< sentence > | analyze (const std::list< sentence > &) |
| analyze sentences, return analyzed copy | |
Private Attributes | |
| std::wstring | tagOthers |
Class numbers implements a punctuation sign recognizer.
| punts::punts | ( | const std::wstring & | puntFile | ) |
Constructor.
Create a punctuation sign recognizer.
References database::access_database(), OTHER, and tagOthers.
| virtual punts::~punts | ( | ) | [inline, virtual] |
| void punts::analyze | ( | sentence & | se | ) | [virtual] |
analyze given sentence
Detect and annotate punctuation signs in given sentence, using given options.
Implements processor.
References database::access_database(), util::has_alphanum(), tagOthers, TRACE, and TRACE_SENTENCE.
Referenced by analyze(), and maco::analyze().
| void punts::analyze | ( | std::list< sentence > & | ) |
analyze given sentences
Reimplemented from processor.
| sentence punts::analyze | ( | const sentence & | s | ) |
| std::list<sentence> punts::analyze | ( | const std::list< sentence > & | ) |
analyze sentences, return analyzed copy
Reimplemented from processor.
std::wstring punts::tagOthers [private] |
1.7.6.1