churro_ocr.prompts
Public prompt defaults used by churro-ocr backends.
-
churro_ocr.prompts.strip_ocr_output_tag(text, *, output_tag=DEFAULT_OCR_OUTPUT_TAG)[source]
Remove outer OCR output tags and any stray tag tokens when present.
- Parameters:
-
- Returns:
OCR text with the outer wrapper removed when present.
- Return type:
str