#include <rel_extract_SPR.h>
List of all members.
Public Member Functions |
| rel_extract_SPR (const std::wstring &) |
| ~rel_extract_SPR () |
void | extract_relations (freeling::document &doc) const |
| Extract relations from given sentences.
|
Private Member Functions |
bool | check_attr (const std::wstring &pat, const std::wstring &prop, std::map< std::wstring, freeling::dep_tree::const_iterator > &val, bool pref=false) const |
bool | next_node (freeling::dep_tree::const_preorder_iterator nd, std::list< node_pattern >::const_iterator p, std::map< std::wstring, freeling::dep_tree::const_iterator > &val) const |
bool | match_rule (freeling::dep_tree::const_preorder_iterator nd, std::list< node_pattern >::const_iterator p, std::map< std::wstring, freeling::dep_tree::const_iterator > &val) const |
Private Attributes |
std::list< rx_rule > | xrules |
| relation extraction rules.
|
Constructor & Destructor Documentation
Member Function Documentation
Member Data Documentation
relation extraction rules.
The documentation for this class was generated from the following file: