ner Class Reference

The class ner is an abstract class that implements a general NE Recognizer. More...

#include <ner.h>

Inheritance diagram for ner:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void annotate (sentence &)=0
 Detect NEs in sentence.

Protected Attributes

unsigned int Title_length
 length beyond which a multiword made of all capitialized words ("WRECKAGE: TITANIC DISAPPEARS IN NORTHERN SEA") will be considered a title and not a proper noun.
std::string NE_tag
 Tag to assign to detected NEs.
bool splitNPs
 if we want to split NEs, set this to true

Detailed Description

The class ner is an abstract class that implements a general NE Recognizer.


Member Function Documentation

virtual void ner::annotate ( sentence &   )  [pure virtual]

Detect NEs in sentence.

Implemented in bioner, and np.

Referenced by maco::analyze().


Member Data Documentation

std::string ner::NE_tag [protected]
bool ner::splitNPs [protected]

if we want to split NEs, set this to true

Referenced by bioner::bioner(), np::BuildMultiword(), bioner::BuildMultiword(), and np::np().

unsigned int ner::Title_length [protected]

length beyond which a multiword made of all capitialized words ("WRECKAGE: TITANIC DISAPPEARS IN NORTHERN SEA") will be considered a title and not a proper noun.

A value of zero deactivates this behaviour.

Referenced by bioner::bioner(), np::np(), np::ValidMultiWord(), and bioner::ValidMultiWord().


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