bin.listclassifier

Module Contents

bin.listclassifier.__author__ = Martin Paul Eve[source]
bin.listclassifier.__email__ = martin@martineve.com[source]

A class that looks for common list encodings and handles them properly.

1.) Identifies lists 2.) Converts them to proper TEI list format

class bin.listclassifier.ListClassifier(global_variables)[source]

Bases: debug.Debuggable

static set_dom_tree(filename)[source]
handle_reference_item(self, element, elements, in_list_run, iteration, list_element, offset, to_append)[source]
handle_footnote_item(self, element, elements, in_list_run, iteration, list_element, offset, to_append)[source]
process_enclosed_ref_list(self, tree, manipulate, treestring)[source]
process_dash_list(self, tree, manipulate, treestring)[source]
process_superscript_footnotes(self, tree, manipulate)[source]
process_number_list(self, tree, manipulate, treestring)[source]
int_to_roman(self, input)[source]
run(self)[source]