Package dataprocessor :: Package sax :: Module saxps2jcml :: Class Parallelsentence2Jcml
[hide private]
[frames] | no frames]

Class Parallelsentence2Jcml

source code

object --+
         |
        Parallelsentence2Jcml

This is a helper class which is meant to produce quickly an XML file given a list of parallel sentences, without loading a new heavy XML object into the memory

Instance Methods [hide private]
 
__init__(self, parallelsentences, format=JcmlFormat(), **kwargs)
Provide a list of parallel sentences
source code
 
write_to_file(self, filename)
XML output is written to the desired file
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, parallelsentences, format=JcmlFormat(), **kwargs)
(Constructor)

source code 

Provide a list of parallel sentences

Overrides: object.__init__