The class ner is an abstract class that implements a general NE Recognizer. More...
#include <ner.h>
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 |
The class ner is an abstract class that implements a general NE Recognizer.
virtual void ner::annotate | ( | sentence & | ) | [pure virtual] |
std::string ner::NE_tag [protected] |
Tag to assign to detected NEs.
Referenced by bioner::bioner(), np::BuildMultiword(), bioner::BuildMultiword(), np::np(), np::SetMultiwordAnalysis(), and bioner::SetMultiwordAnalysis().
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().