Class for the feature extractor. More...
#include <coref_fex.h>
Public Member Functions | |
coref_fex (const int, const int, const std::string &, const std::string &) | |
coref_fex () | |
~coref_fex () | |
void | setVectors (int) |
std::vector< std::string > | tokenize (const std::string &, const std::string &) |
void | extract (EXAMPLE &, std::vector< int > &) |
Public Attributes | |
int | typeVector |
Private Member Functions | |
int | jump (const std::vector< std::string > &) |
int | get_dist (const EXAMPLE &) |
int | get_numdedist (const EXAMPLE &) |
int | get_dedist (const EXAMPLE &) |
int | get_i_pronoum (const EXAMPLE &) |
int | get_j_pronoum (const EXAMPLE &) |
int | get_i_pronoum_p (const EXAMPLE &) |
int | get_j_pronoum_p (const EXAMPLE &) |
int | get_i_pronoum_d (const EXAMPLE &) |
int | get_j_pronoum_d (const EXAMPLE &) |
int | get_i_pronoum_x (const EXAMPLE &) |
int | get_j_pronoum_x (const EXAMPLE &) |
int | get_i_pronoum_i (const EXAMPLE &) |
int | get_j_pronoum_i (const EXAMPLE &) |
int | get_i_pronoum_t (const EXAMPLE &) |
int | get_j_pronoum_t (const EXAMPLE &) |
int | get_i_pronoum_r (const EXAMPLE &) |
int | get_j_pronoum_r (const EXAMPLE &) |
int | get_i_pronoum_e (const EXAMPLE &) |
int | get_j_pronoum_e (const EXAMPLE &) |
int | get_str_match (const EXAMPLE &) |
int | get_def_np (const EXAMPLE &) |
int | get_dem_np (const EXAMPLE &) |
int | get_number (const EXAMPLE &) |
int | get_semclass (const EXAMPLE &) |
int | get_gender (const EXAMPLE &) |
int | get_proper_name (const EXAMPLE &) |
bool | check_word (string, string) |
int | check_acronim (const EXAMPLE &) |
int | check_fixesleft (const EXAMPLE &) |
int | check_fixesright (const EXAMPLE &) |
int | check_order (const EXAMPLE &) |
int | get_alias_acro (const EXAMPLE &) |
int | get_alias_fixleft (const EXAMPLE &) |
int | get_alias_fixright (const EXAMPLE &) |
int | get_alias_order (const EXAMPLE &) |
int | get_appositive (const EXAMPLE &) |
int | get_i_inquotes (const EXAMPLE &) |
int | get_j_inquotes (const EXAMPLE &) |
int | get_i_inparenthesis (const EXAMPLE &) |
int | get_j_inparenthesis (const EXAMPLE &) |
int | get_i_thirtperson (const EXAMPLE &) |
int | get_j_thirtperson (const EXAMPLE &) |
void | put_feature (int, std::vector< int > &) |
Private Attributes | |
semanticDB * | semdb |
int | vectors |
Class for the feature extractor.
coref_fex::coref_fex | ( | const | int, | |
const | int, | |||
const std::string & | , | |||
const std::string & | ||||
) |
coref_fex::coref_fex | ( | ) |
coref_fex::~coref_fex | ( | ) |
int coref_fex::check_acronim | ( | const EXAMPLE & | ) | [private] |
int coref_fex::check_fixesleft | ( | const EXAMPLE & | ) | [private] |
int coref_fex::check_fixesright | ( | const EXAMPLE & | ) | [private] |
int coref_fex::check_order | ( | const EXAMPLE & | ) | [private] |
bool coref_fex::check_word | ( | string | , | |
string | ||||
) | [private] |
void coref_fex::extract | ( | EXAMPLE & | , | |
std::vector< int > & | ||||
) |
int coref_fex::get_alias_acro | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_alias_fixleft | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_alias_fixright | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_alias_order | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_appositive | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_dedist | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_def_np | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_dem_np | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_dist | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_gender | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_i_inparenthesis | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_i_inquotes | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_i_pronoum | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_i_pronoum_d | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_i_pronoum_e | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_i_pronoum_i | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_i_pronoum_p | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_i_pronoum_r | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_i_pronoum_t | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_i_pronoum_x | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_i_thirtperson | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_j_inparenthesis | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_j_inquotes | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_j_pronoum | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_j_pronoum_d | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_j_pronoum_e | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_j_pronoum_i | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_j_pronoum_p | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_j_pronoum_r | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_j_pronoum_t | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_j_pronoum_x | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_j_thirtperson | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_number | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_numdedist | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_proper_name | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_semclass | ( | const EXAMPLE & | ) | [private] |
int coref_fex::get_str_match | ( | const EXAMPLE & | ) | [private] |
int coref_fex::jump | ( | const std::vector< std::string > & | ) | [private] |
void coref_fex::put_feature | ( | int | , | |
std::vector< int > & | ||||
) | [private] |
void coref_fex::setVectors | ( | int | ) |
std::vector<std::string> coref_fex::tokenize | ( | const std::string & | , | |
const std::string & | ||||
) |
semanticDB* coref_fex::semdb [private] |
int coref_fex::vectors [private] |