FreeLing  4.0
Public Member Functions | Private Member Functions | Private Attributes
freeling::io::output_freeling Class Reference

#include <output_freeling.h>

Inheritance diagram for freeling::io::output_freeling:
Inheritance graph
[legend]
Collaboration diagram for freeling::io::output_freeling:
Collaboration graph
[legend]

List of all members.

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::analysisprintRetokenizable (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

Constructor & Destructor Documentation

freeling::io::output_freeling::output_freeling ( const std::wstring &  cfgFile)

Member Function Documentation

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

Member Data Documentation


The documentation for this class was generated from the following file: