From befc8d1e488b79ec50263405deaa9bdca4f05b08 Mon Sep 17 00:00:00 2001 From: nkh0472 <67589323+nkh0472@users.noreply.github.com> Date: Sat, 26 Apr 2025 17:08:55 +0800 Subject: [PATCH] chore: typo fix Signed-off-by: nkh0472 <67589323+nkh0472@users.noreply.github.com> --- docling/models/tesseract_ocr_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docling/models/tesseract_ocr_model.py b/docling/models/tesseract_ocr_model.py index fbe907cc..989ce0e4 100644 --- a/docling/models/tesseract_ocr_model.py +++ b/docling/models/tesseract_ocr_model.py @@ -151,7 +151,7 @@ class TesseractOcrModel(BaseOcrModel): script = map_tesseract_script(script) lang = f"{self.script_prefix}{script}" - # Check if the detected languge is present in the system + # Check if the detected language is present in the system if lang not in self._tesserocr_languages: msg = f"Tesseract detected the script '{script}' and language '{lang}'." msg += " However this language is not installed in your system and will be ignored."