Trees | Indices | Help |
|
---|
|
Abstract base class to describe the basic functionality of a reader, i.e. a mechanism that can import data from external entities (e.g. files) for use with the framework.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Constructor. Creates a memory object that handles file data
|
Returns the contents of the parsed file into an object structure, which is represented by the DataSet object Note that this will cause all the data of the file to be loaded into system memory at once. For big data sets this may not be optimal, so consider sentence-by-sentence reading with SAX, or CElementTree (e.g. saxjcml.py) @return the formed data set @rtype DataSet |
Returns the contents of the parsed file into an a list with ParallelSentence objects. Note that this will cause all the data of the file to be loaded into system memory at once. For big data sets this may not be optimal, so consider sentence-by-sentence reading with SAX or CElementTree (e.g. saxjcml.py) @return the list of parallel sentences @rtype [ParallelSentence, ...] |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jul 18 11:46:12 2014 | http://epydoc.sourceforge.net |