FreeLing
4.0
|
Class numbers implements a punctuation sign recognizer. More...
#include <punts.h>
Public Member Functions | |
punts (const std::wstring &cfgfile) | |
Constructor: load punctuation symbols and tags from given file. | |
virtual | ~punts () |
void | analyze (sentence &) const |
analyze given sentence | |
Private Attributes | |
std::wstring | tagOthers |
Class numbers implements a punctuation sign recognizer.
freeling::punts::punts | ( | const std::wstring & | cfgfile | ) |
Constructor: load punctuation symbols and tags from given file.
Create a punctuation sign recognizer.
References freeling::database::access_database(), OTHER, and tagOthers.
virtual freeling::punts::~punts | ( | ) | [inline, virtual] |
void freeling::punts::analyze | ( | sentence & | se | ) | const [virtual] |
analyze given sentence
Detect and annotate punctuation signs in given sentence, using given options.
Implements freeling::processor.
References freeling::database::access_database(), freeling::util::RE_has_alphanum, tagOthers, TRACE, and TRACE_SENTENCE.
std::wstring freeling::punts::tagOthers [private] |