FreeLing
4.0
|
#include <output_train.h>
Public Member Functions | |
output_train () | |
~output_train () | |
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. | |
Private Member Functions | |
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 |
void | PrintWord (std::wostream &sout, const freeling::word &w, bool only_sel=true, bool probs=true) const |
Private Attributes | |
bool | OutputSenses |
bool | Only1stSense |
bool | OutputPhonetics |
void freeling::io::output_train::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_train::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_train::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_train::PrintWord | ( | std::wostream & | sout, |
const freeling::word & | w, | ||
bool | only_sel = true , |
||
bool | probs = true |
||
) | const [private] |
bool freeling::io::output_train::Only1stSense [private] |
bool freeling::io::output_train::OutputPhonetics [private] |
bool freeling::io::output_train::OutputSenses [private] |