captionclassfier: a tool to search for potential table titles and then link in-text entities
- Usage:
captionclassfier.py tables <input> [options]
captionclassfier.py graphics <input> [options]
captionclassfier.py all <input> [options]
- Options:
- -d, --debug
Enable debug output
- -h, --help
Show this screen.
- -v, --version
Show version.
Module Contents
-
class
bin.captionclassifier.CaptionClassifier(global_variables)[source]
Bases: debug.Debuggable
-
replace_in_text(self, id, element, replace_text, ref_type)[source]
-
replace_in_tail(self, id, element, replace_text, ref_type)[source]
-
link(self, table_ids, replace_texts, paragraphs, ref_type)[source]
-
run_graphics_sibling(self)[source]
-
run_graphics(self)[source]
-
run_tables(self)[source]
-
run_ext_link_compliance(self)[source]
-
bin.captionclassifier.main()[source]