|
FreeLing
4.0
|
#include <output_json.h>


Public Member Functions | |
| output_json () | |
| output_json (const std::wstring &cfgFile) | |
| ~output_json () | |
| 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 | PrintTreeJSON (std::wostream &sout, const std::wstring &sid, freeling::parse_tree::const_iterator n, int depth) const |
| void | PrintDepTreeJSON (std::wostream &sout, const std::wstring &sid, freeling::dep_tree::const_iterator n, int depth) const |
| void | PrintPredArgsJSON (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_json::output_json | ( | const std::wstring & | cfgFile | ) |
| void freeling::io::output_json::PrintCorefs | ( | std::wostream & | sout, |
| const freeling::document & | doc | ||
| ) | const [private] |
| void freeling::io::output_json::PrintDepTreeJSON | ( | std::wostream & | sout, |
| const std::wstring & | sid, | ||
| freeling::dep_tree::const_iterator | n, | ||
| int | depth | ||
| ) | const [private] |
| void freeling::io::output_json::PrintPredArgsJSON | ( | std::wostream & | sout, |
| const freeling::sentence & | s | ||
| ) | const [private] |
| void freeling::io::output_json::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_json::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_json::PrintSemgraph | ( | std::wostream & | sout, |
| const freeling::document & | doc | ||
| ) | const [private] |
| void freeling::io::output_json::PrintTreeJSON | ( | std::wostream & | sout, |
| const std::wstring & | sid, | ||
| freeling::parse_tree::const_iterator | n, | ||
| int | depth | ||
| ) | const [private] |
bool freeling::io::output_json::AllAnalysis [private] |
bool freeling::io::output_json::AllSenses [private] |
1.7.6.1