dates Class Reference

The class dates provides a wrapper to transparently create and access a dates_module, a temporal expression recognizer for the appropriate language. More...

#include <dates.h>

Collaboration diagram for dates:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 dates (const std::string &)
 Constructor.
 ~dates ()
 Destructor.
void annotate (sentence &)
 Detect date/time expressions in sentence using default options.

Private Attributes

dates_modulewho
 remember which module is doing the real work.

Detailed Description

The class dates provides a wrapper to transparently create and access a dates_module, a temporal expression recognizer for the appropriate language.


Constructor & Destructor Documentation

dates::dates ( const std::string &  Lang  ) 

Constructor.

Create the appropriate dates_module (according to received options), and create a wrapper to access it.

References who.

dates::~dates (  ) 

Destructor.

Destroy the wrapper and the wrapped dates_module.

References who.


Member Function Documentation

void dates::annotate ( sentence &  s  ) 

Detect date/time expressions in sentence using default options.

wrapper methods: just call the wrapped dates_module.

References automat::annotate(), and who.

Referenced by maco::analyze().


Member Data Documentation

remember which module is doing the real work.

Referenced by annotate(), dates(), and ~dates().


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