Package dataprocessor :: Package output :: Module wmt11tabwriter :: Class Wmt11TabWriter
[hide private]
[frames] | no frames]

Class Wmt11TabWriter

source code

object --+
         |
        Wmt11TabWriter

classdocs

Instance Methods [hide private]
 
__init__(self, data=None, name='dfki', testset='testset', att_name='rank')
Constructor
source code
 
convert_to_tab(self, parallelsentences)
Creates an tab for the document an populates that with the (parallel) sentences of the given object.
source code
 
write_to_file(self, filename) source code
 
write_to_file_nobuffer(self, filename, parallelsentences) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, data=None, name='dfki', testset='testset', att_name='rank')
(Constructor)

source code 

Constructor

Overrides: object.__init__

convert_to_tab(self, parallelsentences)

source code 

Creates an tab for the document an populates that with the (parallel) sentences of the given object. Resulting tab string gets stored as a variable.

Parameters:
  • parallelsentences - a list of ParallelSentence objects