FreeLing
4.0
|
#include <ent_extract.h>
Public Member Functions | |
ent_extract (const std::wstring &) | |
~ent_extract () | |
void | extract_entities (freeling::document &doc) const |
Extract entities from given sentences. | |
std::wstring | search_alias (const semgraph::semantic_graph &sg, const std::wstring &lemma) const |
Private Member Functions | |
void | extract_entities_nocoref (freeling::document &doc) const |
void | extract_entities_coref (freeling::document &doc) const |
bool | is_alias (const std::wstring &e1, const std::wstring &e2) const |
bool | is_NE (const freeling::word &w) const |
std::wstring | get_NE_class (const freeling::word &w) const |
Private Attributes | |
std::wstring | NEtag |
PoS tag for named entites. | |
std::map< std::wstring, std::wstring > | NEclasses |
freeling::ent_extract::ent_extract | ( | const std::wstring & | ) |
void freeling::ent_extract::extract_entities | ( | freeling::document & | doc | ) | const |
Extract entities from given sentences.
void freeling::ent_extract::extract_entities_coref | ( | freeling::document & | doc | ) | const [private] |
void freeling::ent_extract::extract_entities_nocoref | ( | freeling::document & | doc | ) | const [private] |
std::wstring freeling::ent_extract::get_NE_class | ( | const freeling::word & | w | ) | const [private] |
bool freeling::ent_extract::is_alias | ( | const std::wstring & | e1, |
const std::wstring & | e2 | ||
) | const [private] |
bool freeling::ent_extract::is_NE | ( | const freeling::word & | w | ) | const [private] |
std::wstring freeling::ent_extract::search_alias | ( | const semgraph::semantic_graph & | sg, |
const std::wstring & | lemma | ||
) | const |
std::map<std::wstring,std::wstring> freeling::ent_extract::NEclasses [private] |
std::wstring freeling::ent_extract::NEtag [private] |
PoS tag for named entites.