FreeLing
4.0
|
#include <output_xml.h>
Public Member Functions | |
output_xml () | |
output_xml (const std::wstring &cfgFile) | |
~output_xml () | |
void | PrintHeader (std::wostream &sout) const |
void | PrintFooter (std::wostream &sout) 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. | |
Private Member Functions | |
void | print_analysis (std::wostream &sout, const freeling::analysis &a, bool print_sel_status=false, bool print_probs=false) const |
void | PrintTreeXML (std::wostream &sout, const std::wstring &sid, freeling::parse_tree::const_iterator n, int depth) const |
void | PrintDepTreeXML (std::wostream &sout, const std::wstring &sid, freeling::dep_tree::const_iterator n, int depth) const |
void | PrintPredArgsXML (std::wostream &sout, const freeling::sentence &s) const |
void | PrintCorefs (std::wostream &sout, const freeling::document &doc) const |
void | PrintSemgraph (std::wostream &sout, const freeling::document &doc) const |
Private Attributes | |
bool | AllSenses |
bool | AllAnalysis |
freeling::io::output_xml::output_xml | ( | const std::wstring & | cfgFile | ) |
void freeling::io::output_xml::print_analysis | ( | std::wostream & | sout, |
const freeling::analysis & | a, | ||
bool | print_sel_status = false , |
||
bool | print_probs = false |
||
) | const [private] |
void freeling::io::output_xml::PrintCorefs | ( | std::wostream & | sout, |
const freeling::document & | doc | ||
) | const [private] |
void freeling::io::output_xml::PrintDepTreeXML | ( | std::wostream & | sout, |
const std::wstring & | sid, | ||
freeling::dep_tree::const_iterator | n, | ||
int | depth | ||
) | const [private] |
void freeling::io::output_xml::PrintFooter | ( | std::wostream & | sout | ) | const [virtual] |
Reimplemented from freeling::io::output_handler.
void freeling::io::output_xml::PrintHeader | ( | std::wostream & | sout | ) | const [virtual] |
Reimplemented from freeling::io::output_handler.
void freeling::io::output_xml::PrintPredArgsXML | ( | std::wostream & | sout, |
const freeling::sentence & | s | ||
) | const [private] |
void freeling::io::output_xml::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_xml::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.
void freeling::io::output_xml::PrintSemgraph | ( | std::wostream & | sout, |
const freeling::document & | doc | ||
) | const [private] |
void freeling::io::output_xml::PrintTreeXML | ( | std::wostream & | sout, |
const std::wstring & | sid, | ||
freeling::parse_tree::const_iterator | n, | ||
int | depth | ||
) | const [private] |
bool freeling::io::output_xml::AllAnalysis [private] |
bool freeling::io::output_xml::AllSenses [private] |