regparser.tree.appendix package
Submodules
regparser.tree.appendix.carving module
-
regparser.tree.appendix.carving.
find_appendix_start
(text)[source]
Find the start of the appendix (e.g. Appendix A)
regparser.tree.appendix.generic module
-
regparser.tree.appendix.generic.
find_next_segment
(text)[source]
Find the start/end of the next segment. A segment for the generic
appendix parser is something separated by a title-ish line (a short line
with title-case words).
-
regparser.tree.appendix.generic.
is_title_case
(line)[source]
Determine if a line is title-case (i.e. the first letter of every
word is upper-case. More readable than the equivalent all([]) form.
-
regparser.tree.appendix.generic.
segments
(text)[source]
Return a list of segment offsets. See find_next_segment()
regparser.tree.appendix.tree module
Module contents