|
FreeLing
3.0
|
Class for the feature extractor. More...
#include <coref_fex.h>

Public Member Functions | |
| coref_fex (const unsigned int, const std::wstring &) | |
| ~coref_fex () | |
| void | extract (const mention &, const mention &, std::vector< int > &) |
Private Member Functions | |
| wchar_t | extract_number (const std::wstring &) |
| auxiliary functions for feature extraction | |
| wchar_t | extract_gender (const std::wstring &) |
| std::wstring | extract_semclass (const std::wstring &, const std::wstring &) |
| word & | get_head_word (parse_tree::iterator) |
| bool | check_tag (const mention &, int, const std::wstring &) |
| bool | check_word (const std::wstring &, const std::wstring &) |
| bool | check_acronim (const mention &, const mention &) |
| bool | check_prefix (const mention &, const mention &) |
| bool | check_sufix (const mention &, const mention &) |
| bool | check_order (const mention &, const mention &) |
| int | get_dist (const mention &, const mention &) |
| feature functions | |
| int | get_numdedist (const mention &, const mention &) |
| int | get_dedist (const mention &, const mention &) |
| int | get_i_pronoun (const mention &, const mention &) |
| int | get_j_pronoun (const mention &, const mention &) |
| int | get_i_pronoun_p (const mention &, const mention &) |
| int | get_j_pronoun_p (const mention &, const mention &) |
| int | get_i_pronoun_d (const mention &, const mention &) |
| int | get_j_pronoun_d (const mention &, const mention &) |
| int | get_i_pronoun_x (const mention &, const mention &) |
| int | get_j_pronoun_x (const mention &, const mention &) |
| int | get_i_pronoun_i (const mention &, const mention &) |
| int | get_j_pronoun_i (const mention &, const mention &) |
| int | get_i_pronoun_t (const mention &, const mention &) |
| int | get_j_pronoun_t (const mention &, const mention &) |
| int | get_i_pronoun_r (const mention &, const mention &) |
| int | get_j_pronoun_r (const mention &, const mention &) |
| int | get_i_pronoun_e (const mention &, const mention &) |
| int | get_j_pronoun_e (const mention &, const mention &) |
| int | get_str_match (const mention &, const mention &) |
| int | get_def_np (const mention &, const mention &) |
| int | get_dem_np (const mention &, const mention &) |
| int | get_number (const mention &, const mention &) |
| int | get_gender (const mention &, const mention &) |
| int | get_semclass (const mention &, const mention &) |
| int | get_proper_noun_i (const mention &, const mention &) |
| int | get_proper_noun_j (const mention &, const mention &) |
| int | get_alias_acro (const mention &, const mention &) |
| int | get_alias_prefix (const mention &, const mention &) |
| int | get_alias_sufix (const mention &, const mention &) |
| int | get_alias_order (const mention &, const mention &) |
| int | get_appositive (const mention &, const mention &) |
| int | get_i_inquotes (const mention &, const mention &) |
| int | get_j_inquotes (const mention &, const mention &) |
| int | get_i_inparenthesis (const mention &, const mention &) |
| int | get_j_inparenthesis (const mention &, const mention &) |
| int | get_i_thirdperson (const mention &, const mention &) |
| int | get_j_thirdperson (const mention &, const mention &) |
| void | put_feature (int, std::vector< int > &) |
Private Attributes | |
| semanticDB * | semdb |
| semantic database to check for semantic properties | |
| unsigned int | active_features |
| active features | |
Class for the feature extractor.
| coref_fex::coref_fex | ( | const unsigned | int, |
| const std::wstring & | |||
| ) |
| bool coref_fex::check_acronim | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| bool coref_fex::check_order | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| bool coref_fex::check_prefix | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| bool coref_fex::check_sufix | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| bool coref_fex::check_tag | ( | const mention & | , |
| int | , | ||
| const std::wstring & | |||
| ) | [private] |
| bool coref_fex::check_word | ( | const std::wstring & | , |
| const std::wstring & | |||
| ) | [private] |
| void coref_fex::extract | ( | const mention & | , |
| const mention & | , | ||
| std::vector< int > & | |||
| ) |
| wchar_t coref_fex::extract_gender | ( | const std::wstring & | ) | [private] |
| wchar_t coref_fex::extract_number | ( | const std::wstring & | ) | [private] |
auxiliary functions for feature extraction
| std::wstring coref_fex::extract_semclass | ( | const std::wstring & | , |
| const std::wstring & | |||
| ) | [private] |
| int coref_fex::get_alias_acro | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_alias_order | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_alias_prefix | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_alias_sufix | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_appositive | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_dedist | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_def_np | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_dem_np | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_dist | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
feature functions
| int coref_fex::get_gender | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| word& coref_fex::get_head_word | ( | parse_tree::iterator | ) | [private] |
| int coref_fex::get_i_inparenthesis | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_i_inquotes | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_i_pronoun | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_i_pronoun_d | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_i_pronoun_e | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_i_pronoun_i | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_i_pronoun_p | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_i_pronoun_r | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_i_pronoun_t | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_i_pronoun_x | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_i_thirdperson | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_j_inparenthesis | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_j_inquotes | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_j_pronoun | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_j_pronoun_d | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_j_pronoun_e | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_j_pronoun_i | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_j_pronoun_p | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_j_pronoun_r | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_j_pronoun_t | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_j_pronoun_x | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_j_thirdperson | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_number | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_numdedist | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_proper_noun_i | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_proper_noun_j | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_semclass | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| int coref_fex::get_str_match | ( | const mention & | , |
| const mention & | |||
| ) | [private] |
| void coref_fex::put_feature | ( | int | , |
| std::vector< int > & | |||
| ) | [inline, private] |
unsigned int coref_fex::active_features [private] |
active features
semanticDB* coref_fex::semdb [private] |
semantic database to check for semantic properties
1.7.6.1