punts Class Reference

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

#include <punts.h>

List of all members.

Public Member Functions

 punts (const std::string &)
 Constructor.
void annotate (sentence &)
 Detect numbers in sentence with default options.

Private Attributes

std::map< std::string,
std::string > 
punct
 map of punctuation signs and corresponding parole tags

Detailed Description

Class numbers implements a punctuation sign recognizer.


Constructor & Destructor Documentation

punts::punts ( const std::string &  puntFile  ) 

Constructor.

Create a punctuation sign recognizer.

References ERROR_CRASH, punct, and TRACE.


Member Function Documentation

void punts::annotate ( sentence &  se  ) 

Detect numbers in sentence with default options.

Detect and annotate punctuation signs in given sentence, using given options.

References OTHER, punct, TRACE, and TRACE_SENTENCE.

Referenced by maco::analyze().


Member Data Documentation

std::map<std::string,std::string> punts::punct [private]

map of punctuation signs and corresponding parole tags

Referenced by annotate(), and punts().


The documentation for this class was generated from the following files:
Generated on Tue Jul 27 16:29:33 2010 for FreeLing by  doxygen 1.6.3