NERsuite  1.1.1
Public Member Functions
NER::FeatureExtractor Class Reference

#include <FExtor.h>

List of all members.

Public Member Functions

 FeatureExtractor (const COLUMN_INFO &col_info)
void ext_WORD_feats (const V2_STR &one_sent, V2_STR &sent_feats)
void ext_LEMMA_feats (const V2_STR &one_sent, V2_STR &sent_feats)
void ext_ORTHO_feats (const V2_STR &one_sent, V2_STR &sent_feats)
void ext_POS_feats (const V2_STR &one_sent, V2_STR &sent_feats)
void ext_LEMMA_POS_feats (const V2_STR &one_sent, V2_STR &sent_feats)
void ext_CHUNK_feats (const V2_STR &one_sent, V2_STR &sent_feats)
void ext_DIC_feats (const V2_STR &one_sent, V2_STR &sent_feats, int opt_dic)

Detailed Description

Feature Extractor


Constructor & Destructor Documentation

NER::FeatureExtractor::FeatureExtractor ( const COLUMN_INFO col_info) [inline]

Constructs a Feature Extractor

Parameters:
[in]col_infoIndicates how to interpret each input column

Member Function Documentation

void NER::FeatureExtractor::ext_CHUNK_feats ( const V2_STR &  one_sent,
V2_STR &  sent_feats 
)

Extracts Chunk Features from a sentence

Parameters:
[in]one_sentinput sentence (List of token) in the POS tagged format
[in,out]sent_featsResulting feature list for each input token
void NER::FeatureExtractor::ext_DIC_feats ( const V2_STR &  one_sent,
V2_STR &  sent_feats,
int  opt_dic 
)

Extracts Dictionary Features from a sentence

Parameters:
[in]one_sentinput sentence (List of token) in the POS tagged format
[in,out]sent_featsResulting feature list for each input token
[in]opt_dicIf 0, enables Lexicalized dictionary hit feature
void NER::FeatureExtractor::ext_LEMMA_feats ( const V2_STR &  one_sent,
V2_STR &  sent_feats 
)

Extracts Lemma Features from a sentence

Parameters:
[in]one_sentinput sentence (List of token) in the POS tagged format
[in,out]sent_featsResulting feature list for each input token
void NER::FeatureExtractor::ext_LEMMA_POS_feats ( const V2_STR &  one_sent,
V2_STR &  sent_feats 
)

Extracts Lemma's POS Features from a sentence

Parameters:
[in]one_sentinput sentence (List of token) in the POS tagged format
[in,out]sent_featsResulting feature list for each input token
void NER::FeatureExtractor::ext_ORTHO_feats ( const V2_STR &  one_sent,
V2_STR &  sent_feats 
)

Extracts Orthogonal Features from a sentence

Parameters:
[in]one_sentinput sentence (List of token) in the POS tagged format
[in,out]sent_featsResulting feature list for each input token
void NER::FeatureExtractor::ext_POS_feats ( const V2_STR &  one_sent,
V2_STR &  sent_feats 
)

Extracts POS Features from a sentence

Parameters:
[in]one_sentinput sentence (List of token) in the POS tagged format
[in,out]sent_featsResulting feature list for each input token
void NER::FeatureExtractor::ext_WORD_feats ( const V2_STR &  one_sent,
V2_STR &  sent_feats 
)

Extracts Word Features from a sentence

Parameters:
[in]one_sentinput sentence (List of token) in the POS tagged format
[in,out]sent_featsResulting feature list for each input token

The documentation for this class was generated from the following files:
 All Classes Functions Variables