Package dataprocessor :: Package input :: Module schemabasedreader
[hide private]
[frames] | no frames]

Module schemabasedreader

source code

Created on 28 Οκτ 2010


Author: Eleftherios Avramidis

Classes [hide private]
  SchemaData
Imports and directly objectifies the XML input data, based on a Schema description Development suspended as it was not possible to have optional arguments
Variables [hide private]
  SCHEMA = StringIO("...
  FILENAME = '../data/evaluations_all.jcml'
  __package__ = 'dataprocessor.input'
Variables Details [hide private]

SCHEMA

Value:
StringIO("""\
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
        <xs:element name="jcml" type="corpus" />
        <xs:complexType name="corpus">
            <xs:sequence>
                <xs:element name="judgedsentence" type="parallelsenten\
ce" />
            </xs:sequence>
...