#include <instance.h>
|
typedef std::pair< int, int > | range_t |
|
|
void | clear () |
| For extra. More...
|
|
void | push_back (const word_t &form, const postag_t &postag, const int head, const deprel_t &deprel) |
|
void | push_back (const word_t &form, const postag_t &postag, const int head, const deprel_t &deprel, const std::string &extra) |
|
void | push_back (const word_t &form, const postag_t &postag, const int head, const deprel_t &deprel, const std::vector< word_t > &extended_words, const range_t &phrase, bool is_phrase) |
|
void | push_back (const word_t &form, const postag_t &postag, const int head, const deprel_t &deprel, const std::vector< word_t > &extended_words, const range_t &phrase, bool is_phrase, const std::string &extra) |
|
size_t | size () const |
|
word_t | form (int index) const |
|
postag_t | postag (int index) const |
|
void ZGen::DependencyParse::clear |
( |
| ) |
|
word_t ZGen::DependencyParse::form |
( |
int |
index | ) |
const |
postag_t ZGen::DependencyParse::postag |
( |
int |
index | ) |
const |
void ZGen::DependencyParse::push_back |
( |
const word_t & |
form, |
|
|
const postag_t & |
postag, |
|
|
const int |
head, |
|
|
const deprel_t & |
deprel |
|
) |
| |
void ZGen::DependencyParse::push_back |
( |
const word_t & |
form, |
|
|
const postag_t & |
postag, |
|
|
const int |
head, |
|
|
const deprel_t & |
deprel, |
|
|
const std::string & |
extra |
|
) |
| |
void ZGen::DependencyParse::push_back |
( |
const word_t & |
form, |
|
|
const postag_t & |
postag, |
|
|
const int |
head, |
|
|
const deprel_t & |
deprel, |
|
|
const std::vector< word_t > & |
extended_words, |
|
|
const range_t & |
phrase, |
|
|
bool |
is_phrase |
|
) |
| |
void ZGen::DependencyParse::push_back |
( |
const word_t & |
form, |
|
|
const postag_t & |
postag, |
|
|
const int |
head, |
|
|
const deprel_t & |
deprel, |
|
|
const std::vector< word_t > & |
extended_words, |
|
|
const range_t & |
phrase, |
|
|
bool |
is_phrase, |
|
|
const std::string & |
extra |
|
) |
| |
size_t ZGen::DependencyParse::size |
( |
| ) |
const |
std::vector<deprel_t> ZGen::DependencyParse::deprels |
std::vector<std::string> ZGen::DependencyParse::extras |
Record whether ith item is phrase.
std::vector<word_t> ZGen::DependencyParse::forms |
std::vector<int> ZGen::DependencyParse::heads |
std::vector<bool> ZGen::DependencyParse::is_phrases |
std::vector<range_t> ZGen::DependencyParse::phrases |
std::vector<postag_t> ZGen::DependencyParse::postags |
The heads. For the pre-recognized NP, just the head is stored in forms.
std::vector<word_t> ZGen::DependencyParse::words |
The documentation for this struct was generated from the following files: