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

Module saxps2jcml

source code

Created on 14 Dec 2011


Author: Eleftherios Avramidis

Classes [hide private]
  IncrementalJcml
Write line by line incrementally on an XML file, without loading anything in the memory.
  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
Functions [hide private]
 
c(string)
Kills extended unicode characters that are not allowed in a proper XML
source code
Variables [hide private]
  illegal_xml_chars_RE = re.compile(r'[\x00-\x08\v\f\x0e-\x1f\ud...
  __package__ = 'dataprocessor.sax'
Variables Details [hide private]

illegal_xml_chars_RE

Value:
re.compile(r'[\x00-\x08\v\f\x0e-\x1f\ud800-\udfff\ufffe\uffff]')