Package dataprocessor :: Package ce :: Module pysvmlight
[hide private]
[frames] | no frames]

Module pysvmlight

source code

Created on 27 Aug 2012


Author: Eleftherios Avramidis

Functions [hide private]
 
get_svmlight_format(dataset) source code
 
get_instance_from_parallelsentence(parallelsentence, attribute_names) source code
 
get_attribute_names(input_xml_filename)
Parse once the given XML file and return a set with the attribute names
source code
 
read_file_incremental(input_xml_filename, **kwargs) source code
 
convert_jcml_to_dat(jcml_filename, dat_filename, **kwargs) source code
Variables [hide private]
  TAG_SENT = 'judgedsentence'
  TAG_SRC = 'src'
  TAG_TGT = 'tgt'
  TAG_DOC = 'jcml'
  __package__ = 'dataprocessor.ce'
Function Details [hide private]

get_attribute_names(input_xml_filename)

source code 

Parse once the given XML file and return a set with the attribute names

Parameters:
  • input_xml_filename - The XML file to be parsed