FreeLing  4.0
Public Member Functions | Private Attributes
freeling::punts Class Reference

Class numbers implements a punctuation sign recognizer. More...

#include <punts.h>

Inheritance diagram for freeling::punts:
Inheritance graph
[legend]
Collaboration diagram for freeling::punts:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Class numbers implements a punctuation sign recognizer.


Constructor & Destructor Documentation

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]

Member Function Documentation

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.


Member Data Documentation

std::wstring freeling::punts::tagOthers [private]

Referenced by analyze(), and punts().


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