Package dataprocessor :: Package ce :: Module cejcml :: Class CEJcmlReader
[hide private]
[frames] | no frames]

Class CEJcmlReader

source code

This class converts jcml format to tab format (orange format). The output file is saved to the same folder where input file is.

Instance Methods [hide private]
 
__init__(self, input_xml_filename, **kwargs)
Init calls class SaxJcmlOrangeHeader for creating header and SaxJcmlOrangeContent for creating content.
source code
 
get_dataset(self) source code
 
get_parallelsentences(self, compact=True) source code
 
fix(self, value) source code
Method Details [hide private]

__init__(self, input_xml_filename, **kwargs)
(Constructor)

source code 

Init calls class SaxJcmlOrangeHeader for creating header and SaxJcmlOrangeContent for creating content.

Parameters:
  • input_xml_filename (string) - name of input jcml file
  • class_name (string) - name of class
  • desired_attributes (list of strings) - desired attributes
  • meta_attributes (list of strings) - meta attributes