Spaces:
Sleeping

sirimiri commited on
Commit
b4bf698
·
1 Parent(s): d9dd2ba

Lowercase stray capitals mid-word, tidy bracket spacing

Browse files

fix_case only lowercases when the result is in the vocab, so 'McNamara' is
left alone. Plus four narrow punctuation rules. Four other ideas were measured
and dropped, including a 4-gram syllable LM that won its narrow test but lost
end to end - numbers are in the docstrings.
acc 0.3810 -> 0.3860, CER 8.83% -> 8.73%

4 files changed +111 -16
Files changed (4)
api.py+5-5
ctc_beam_rec.py+3-3
postprocess_v2.py+98-4
vocr_pipeline.py+5-4