FreeLing
4.0
|
#include <output_freeling.h>
Public Member Functions | |
output_freeling () | |
output_freeling (const std::wstring &cfgFile) | |
~output_freeling () | |
void | PrintTree (std::wostream &sout, freeling::parse_tree::const_iterator n, int depth) const |
void | PrintDepTree (std::wostream &sout, freeling::dep_tree::const_iterator n, int depth) const |
void | PrintPredArgs (std::wostream &sout, const freeling::sentence &s) const |
void | PrintWord (std::wostream &sout, const freeling::word &w, bool only_sel=true, bool probs=true) const |
void | PrintCorefs (std::wostream &sout, const freeling::document &doc) const |
void | PrintSemgraph (std::wostream &sout, const freeling::document &doc) const |
void | PrintResults (std::wostream &sout, const std::list< freeling::sentence > &ls) const |
print given sentences to sout in appropriate format (no headers) | |
void | PrintResults (std::wostream &sout, const freeling::document &doc) const |
print given document to sout in appropriate format, including headers. | |
void | output_senses (bool) |
void | output_all_senses (bool) |
void | output_phonetics (bool) |
void | output_dep_tree (bool) |
void | output_corefs (bool) |
void | output_semgraph (bool) |
Private Member Functions | |
std::wstring | outputSenses (const freeling::analysis &a) const |
std::list< freeling::analysis > | printRetokenizable (std::wostream &sout, const std::list< freeling::word > &rtk, std::list< freeling::word >::const_iterator w, const std::wstring &lem, const std::wstring &tag) const |
Private Attributes | |
bool | OutputSenses |
bool | AllSenses |
bool | OutputPhonetics |
bool | OutputDepTree |
bool | OutputCorefs |
bool | OutputSemgraph |
freeling::io::output_freeling::output_freeling | ( | const std::wstring & | cfgFile | ) |
void freeling::io::output_freeling::output_all_senses | ( | bool | ) |
void freeling::io::output_freeling::output_corefs | ( | bool | ) |
void freeling::io::output_freeling::output_dep_tree | ( | bool | ) |
void freeling::io::output_freeling::output_phonetics | ( | bool | ) |
void freeling::io::output_freeling::output_semgraph | ( | bool | ) |
void freeling::io::output_freeling::output_senses | ( | bool | ) |
std::wstring freeling::io::output_freeling::outputSenses | ( | const freeling::analysis & | a | ) | const [private] |
void freeling::io::output_freeling::PrintCorefs | ( | std::wostream & | sout, |
const freeling::document & | doc | ||
) | const |
void freeling::io::output_freeling::PrintDepTree | ( | std::wostream & | sout, |
freeling::dep_tree::const_iterator | n, | ||
int | depth | ||
) | const |
void freeling::io::output_freeling::PrintPredArgs | ( | std::wostream & | sout, |
const freeling::sentence & | s | ||
) | const |
void freeling::io::output_freeling::PrintResults | ( | std::wostream & | sout, |
const std::list< freeling::sentence > & | ls | ||
) | const [virtual] |
print given sentences to sout in appropriate format (no headers)
Implements freeling::io::output_handler.
void freeling::io::output_freeling::PrintResults | ( | std::wostream & | sout, |
const freeling::document & | doc | ||
) | const [virtual] |
print given document to sout in appropriate format, including headers.
Implements freeling::io::output_handler.
std::list<freeling::analysis> freeling::io::output_freeling::printRetokenizable | ( | std::wostream & | sout, |
const std::list< freeling::word > & | rtk, | ||
std::list< freeling::word >::const_iterator | w, | ||
const std::wstring & | lem, | ||
const std::wstring & | tag | ||
) | const [private] |
void freeling::io::output_freeling::PrintSemgraph | ( | std::wostream & | sout, |
const freeling::document & | doc | ||
) | const |
void freeling::io::output_freeling::PrintTree | ( | std::wostream & | sout, |
freeling::parse_tree::const_iterator | n, | ||
int | depth | ||
) | const |
void freeling::io::output_freeling::PrintWord | ( | std::wostream & | sout, |
const freeling::word & | w, | ||
bool | only_sel = true , |
||
bool | probs = true |
||
) | const |
bool freeling::io::output_freeling::AllSenses [private] |
bool freeling::io::output_freeling::OutputCorefs [private] |
bool freeling::io::output_freeling::OutputDepTree [private] |
bool freeling::io::output_freeling::OutputPhonetics [private] |
bool freeling::io::output_freeling::OutputSemgraph [private] |
bool freeling::io::output_freeling::OutputSenses [private] |