mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-27 04:24:45 +00:00
chore: typo fix
Signed-off-by: nkh0472 <67589323+nkh0472@users.noreply.github.com>
This commit is contained in:
parent
e6387b3d47
commit
befc8d1e48
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user