API

LemmatizerBMP

GenericLemmatizer

DemapperLSTM

Seq2SeqDs

CharConfusionMatrix

char_similarity

Compute similarity score between two characters based on multiple heuristics.

extract_transcription_from_page_xml

Extracts transcription from a PAGE XML document string.

fast_cer

fast_numpy_to_str

fast_str_to_numpy

print_err

Print text to stderr with color coding based on correctness and confidence.