|
FreeLing
4.0
|
#include <output_naf.h>


Public Member Functions | |
| output_naf () | |
| output_naf (const std::wstring &cfgFile) | |
| ~output_naf () | |
| 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 | PrintHeader (std::wostream &sout) const |
| void | PrintFooter (std::wostream &sout) const |
| void | ActivateLayer (const std::wstring &ly, bool b) |
Private Member Functions | |
| std::wstring | naf_pos_tag (const std::wstring &tag) const |
| void | PrintDepTreeNAF (std::wostream &sout, freeling::dep_tree::const_iterator n, const std::wstring &sid) const |
| void | PrintTextLayer (std::wostream &sout, const freeling::document &doc) const |
| void | PrintTermsLayer (std::wostream &sout, const freeling::document &doc) const |
| void | PrintEntitiesLayer (std::wostream &sout, const freeling::document &doc) const |
| void | PrintChunksLayer (std::wostream &sout, const freeling::document &doc) const |
| void | PrintConstituencyLayer (std::wostream &sout, const freeling::document &doc) const |
| void | PrintDepsLayer (std::wostream &sout, const freeling::document &doc) const |
| void | PrintSRLLayer (std::wostream &sout, const freeling::document &doc) const |
| void | PrintCoreferencesLayer (std::wostream &sout, const freeling::document &doc) const |
| void | print_external_refs (std::wostream &sout, const freeling::word &w) const |
Static Private Member Functions | |
| static std::wstring | get_term_id (const std::wstring &sid, const freeling::word &w, const std::wstring &pref=L"") |
| static void | print_tokens (std::wostream &sout, const freeling::word &w, bool wf, const std::wstring &nsent, int &ntok) |
| static void | print_span (std::wostream &sout, const freeling::sentence &s, int from, int to) |
Private Attributes | |
| std::set< std::wstring > | layers |
| freeling::io::output_naf::output_naf | ( | const std::wstring & | cfgFile | ) |
| void freeling::io::output_naf::ActivateLayer | ( | const std::wstring & | ly, |
| bool | b | ||
| ) |
| static std::wstring freeling::io::output_naf::get_term_id | ( | const std::wstring & | sid, |
| const freeling::word & | w, | ||
| const std::wstring & | pref = L"" |
||
| ) | [static, private] |
| std::wstring freeling::io::output_naf::naf_pos_tag | ( | const std::wstring & | tag | ) | const [private] |
| void freeling::io::output_naf::print_external_refs | ( | std::wostream & | sout, |
| const freeling::word & | w | ||
| ) | const [private] |
| static void freeling::io::output_naf::print_span | ( | std::wostream & | sout, |
| const freeling::sentence & | s, | ||
| int | from, | ||
| int | to | ||
| ) | [static, private] |
| static void freeling::io::output_naf::print_tokens | ( | std::wostream & | sout, |
| const freeling::word & | w, | ||
| bool | wf, | ||
| const std::wstring & | nsent, | ||
| int & | ntok | ||
| ) | [static, private] |
| void freeling::io::output_naf::PrintChunksLayer | ( | std::wostream & | sout, |
| const freeling::document & | doc | ||
| ) | const [private] |
| void freeling::io::output_naf::PrintConstituencyLayer | ( | std::wostream & | sout, |
| const freeling::document & | doc | ||
| ) | const [private] |
| void freeling::io::output_naf::PrintCoreferencesLayer | ( | std::wostream & | sout, |
| const freeling::document & | doc | ||
| ) | const [private] |
| void freeling::io::output_naf::PrintDepsLayer | ( | std::wostream & | sout, |
| const freeling::document & | doc | ||
| ) | const [private] |
| void freeling::io::output_naf::PrintDepTreeNAF | ( | std::wostream & | sout, |
| freeling::dep_tree::const_iterator | n, | ||
| const std::wstring & | sid | ||
| ) | const [private] |
| void freeling::io::output_naf::PrintEntitiesLayer | ( | std::wostream & | sout, |
| const freeling::document & | doc | ||
| ) | const [private] |
| void freeling::io::output_naf::PrintFooter | ( | std::wostream & | sout | ) | const [virtual] |
Reimplemented from freeling::io::output_handler.
| void freeling::io::output_naf::PrintHeader | ( | std::wostream & | sout | ) | const [virtual] |
Reimplemented from freeling::io::output_handler.
| void freeling::io::output_naf::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_naf::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_naf::PrintSRLLayer | ( | std::wostream & | sout, |
| const freeling::document & | doc | ||
| ) | const [private] |
| void freeling::io::output_naf::PrintTermsLayer | ( | std::wostream & | sout, |
| const freeling::document & | doc | ||
| ) | const [private] |
| void freeling::io::output_naf::PrintTextLayer | ( | std::wostream & | sout, |
| const freeling::document & | doc | ||
| ) | const [private] |
std::set<std::wstring> freeling::io::output_naf::layers [private] |
1.7.6.1