FreeLing
4.0
|
#include <input_conll.h>
Public Member Functions | |
input_conll () | |
input_conll (const std::wstring &fcfg) | |
~input_conll () | |
void | input_sentences (const std::wstring &lines, std::list< freeling::sentence > &ls) const |
load partially analyzed sentences form 'lines' into a list of sentences | |
void | input_document (const std::wstring &lines, freeling::document &doc) const |
Private Member Functions | |
void | conll2freeling (const conll_sentence &cs, freeling::sentence &s) const |
void | conll2freeling (const conll_sentence &cs, freeling::sentence &s, freeling::document &doc, int &nment) const |
void | load_corefs (const conll_sentence &cs, std::list< freeling::sentence >::const_iterator s, int &nment, freeling::document &doc) const |
void | add_field_content (const std::wstring &field, const std::wstring &val, int i, freeling::word &w, freeling::parse_tree::iterator &ptr, std::vector< freeling::dep_tree * > &dtrees, std::vector< std::wstring > &drels) const |
Private Attributes | |
bool | use_msd |
freeling::io::input_conll::input_conll | ( | const std::wstring & | fcfg | ) |
void freeling::io::input_conll::add_field_content | ( | const std::wstring & | field, |
const std::wstring & | val, | ||
int | i, | ||
freeling::word & | w, | ||
freeling::parse_tree::iterator & | ptr, | ||
std::vector< freeling::dep_tree * > & | dtrees, | ||
std::vector< std::wstring > & | drels | ||
) | const [private] |
void freeling::io::input_conll::conll2freeling | ( | const conll_sentence & | cs, |
freeling::sentence & | s | ||
) | const [private] |
void freeling::io::input_conll::conll2freeling | ( | const conll_sentence & | cs, |
freeling::sentence & | s, | ||
freeling::document & | doc, | ||
int & | nment | ||
) | const [private] |
void freeling::io::input_conll::input_document | ( | const std::wstring & | lines, |
freeling::document & | doc | ||
) | const [virtual] |
Reimplemented from freeling::io::input_handler.
void freeling::io::input_conll::input_sentences | ( | const std::wstring & | lines, |
std::list< freeling::sentence > & | ls | ||
) | const [virtual] |
load partially analyzed sentences form 'lines' into a list of sentences
Implements freeling::io::input_handler.
void freeling::io::input_conll::load_corefs | ( | const conll_sentence & | cs, |
std::list< freeling::sentence >::const_iterator | s, | ||
int & | nment, | ||
freeling::document & | doc | ||
) | const [private] |
bool freeling::io::input_conll::use_msd [private] |