FreeLing  4.0
Public Member Functions | Private Member Functions | Private Attributes
freeling::semgraph_extract Class Reference

#include <semgraph_extract.h>

Collaboration diagram for freeling::semgraph_extract:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 semgraph_extract (const std::wstring &erFile)
 Constructor.
 ~semgraph_extract ()
 Destructor.
void extract (freeling::document &doc) const
 extract graph from given document

Private Member Functions

template<class T >
void add_semantic_info (T &e) const
 Add semantic information (synonyms, sumo, cyc, etc) to a SG element (entity or frame)

Private Attributes

ent_extractentities_extr
 entity extractor to use
rel_extractrelations_extr
 relation extractor to use
semanticDBsemdb
 access to WN
std::list< std::pair
< std::wstring, std::wstring > > 
KBs
 Known knowledge bases.

Constructor & Destructor Documentation

freeling::semgraph_extract::semgraph_extract ( const std::wstring &  erFile)

Constructor.

Destructor.


Member Function Documentation

template<class T >
void freeling::semgraph_extract::add_semantic_info ( T &  e) const [private]

Add semantic information (synonyms, sumo, cyc, etc) to a SG element (entity or frame)

References freeling::sense_info::cyc, freeling::semanticDB::get_sense_info(), KBs, semdb, freeling::sense_info::sumo, and freeling::sense_info::words.

extract graph from given document


Member Data Documentation

entity extractor to use

std::list<std::pair<std::wstring,std::wstring> > freeling::semgraph_extract::KBs [private]

Known knowledge bases.

Referenced by add_semantic_info().

relation extractor to use

access to WN

Referenced by add_semantic_info().


The documentation for this class was generated from the following file: