diff --git a/src/main/java/com/manalejandro/arjion/controllers/MainController.java b/src/main/java/com/manalejandro/arjion/controllers/MainController.java index f82ed25..a13b92b 100644 --- a/src/main/java/com/manalejandro/arjion/controllers/MainController.java +++ b/src/main/java/com/manalejandro/arjion/controllers/MainController.java @@ -95,7 +95,7 @@ public class MainController { PDFParserConfig pdfConfig = new PDFParserConfig(); TesseractOCRConfig tesseractConfig = new TesseractOCRConfig(); tesseractConfig.setTesseractPath(tesseractpath); - tesseractConfig.setLanguage("esp+eng"); + tesseractConfig.setLanguage("spa+eng"); pdfConfig.setExtractInlineImages(true); ParseContext parseContext = new ParseContext(); parseContext.set(TesseractOCRConfig.class, tesseractConfig);