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

#include <input_conll.h>

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

List of all members.

Public Member Functions

 input_conll ()
 input_conll (const std::wstring &fcfg)
 ~input_conll ()
void input_sentences (const std::wstring &lines, std::list< freeling::sentence > &ls) const
 load partially analyzed sentences form 'lines' into a list of sentences
void input_document (const std::wstring &lines, freeling::document &doc) const

Private Member Functions

void conll2freeling (const conll_sentence &cs, freeling::sentence &s) const
void conll2freeling (const conll_sentence &cs, freeling::sentence &s, freeling::document &doc, int &nment) const
void load_corefs (const conll_sentence &cs, std::list< freeling::sentence >::const_iterator s, int &nment, freeling::document &doc) const
void add_field_content (const std::wstring &field, const std::wstring &val, int i, freeling::word &w, freeling::parse_tree::iterator &ptr, std::vector< freeling::dep_tree * > &dtrees, std::vector< std::wstring > &drels) const

Private Attributes

bool use_msd

Constructor & Destructor Documentation

freeling::io::input_conll::input_conll ( const std::wstring &  fcfg)

Member Function Documentation

void freeling::io::input_conll::add_field_content ( const std::wstring &  field,
const std::wstring &  val,
int  i,
freeling::word w,
freeling::parse_tree::iterator ptr,
std::vector< freeling::dep_tree * > &  dtrees,
std::vector< std::wstring > &  drels 
) const [private]
void freeling::io::input_conll::conll2freeling ( const conll_sentence cs,
freeling::sentence s 
) const [private]
void freeling::io::input_conll::conll2freeling ( const conll_sentence cs,
freeling::sentence s,
freeling::document doc,
int nment 
) const [private]
void freeling::io::input_conll::input_document ( const std::wstring &  lines,
freeling::document doc 
) const [virtual]

Reimplemented from freeling::io::input_handler.

void freeling::io::input_conll::input_sentences ( const std::wstring &  lines,
std::list< freeling::sentence > &  ls 
) const [virtual]

load partially analyzed sentences form 'lines' into a list of sentences

Implements freeling::io::input_handler.

void freeling::io::input_conll::load_corefs ( const conll_sentence cs,
std::list< freeling::sentence >::const_iterator  s,
int nment,
freeling::document doc 
) const [private]

Member Data Documentation


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