diff --git a/OCR/.NET/Perform-OCR-on-PDF-with-multiple-languages/Perform-OCR-on-PDF-with-multiple-languages/Data/ARIALUNI.ttf b/OCR/.NET/Perform-OCR-on-PDF-with-multiple-languages/Perform-OCR-on-PDF-with-multiple-languages/Data/ARIALUNI.ttf index 0d6b2db0..de9b19d1 100644 Binary files a/OCR/.NET/Perform-OCR-on-PDF-with-multiple-languages/Perform-OCR-on-PDF-with-multiple-languages/Data/ARIALUNI.ttf and b/OCR/.NET/Perform-OCR-on-PDF-with-multiple-languages/Perform-OCR-on-PDF-with-multiple-languages/Data/ARIALUNI.ttf differ diff --git a/OCR/.NET/Perform-OCR-on-PDF-with-multiple-languages/Perform-OCR-on-PDF-with-multiple-languages/Data/Input.pdf b/OCR/.NET/Perform-OCR-on-PDF-with-multiple-languages/Perform-OCR-on-PDF-with-multiple-languages/Data/Input.pdf index 5b32a59d..9f9117b1 100644 Binary files a/OCR/.NET/Perform-OCR-on-PDF-with-multiple-languages/Perform-OCR-on-PDF-with-multiple-languages/Data/Input.pdf and b/OCR/.NET/Perform-OCR-on-PDF-with-multiple-languages/Perform-OCR-on-PDF-with-multiple-languages/Data/Input.pdf differ diff --git a/OCR/.NET/Perform-OCR-on-PDF-with-multiple-languages/Perform-OCR-on-PDF-with-multiple-languages/Program.cs b/OCR/.NET/Perform-OCR-on-PDF-with-multiple-languages/Perform-OCR-on-PDF-with-multiple-languages/Program.cs index 0573c7f0..a48c53a6 100644 --- a/OCR/.NET/Perform-OCR-on-PDF-with-multiple-languages/Perform-OCR-on-PDF-with-multiple-languages/Program.cs +++ b/OCR/.NET/Perform-OCR-on-PDF-with-multiple-languages/Perform-OCR-on-PDF-with-multiple-languages/Program.cs @@ -10,7 +10,7 @@ //Assign a Unicode font to retain multilingual characters in the OCR output PDF. processor.UnicodeFont = new PdfTrueTypeFont(Path.GetFullPath(@"Data/ARIALUNI.ttf"), 8); //Specify the languages to be recognized during OCR processing. - processor.Settings.Language = "eng+deu+ara+ell+fra"; // English, German, Arabic, Greek, French + processor.Settings.Language = "eng+spa+deu+fra+chi_sim+ara"; //Set the directory containing Tesseract language data files. processor.TessDataPath = Path.GetFullPath(@"Tessdata"); //Run OCR on the PDF document and make its content searchable. diff --git a/OCR/.NET/Perform-OCR-on-PDF-with-multiple-languages/Perform-OCR-on-PDF-with-multiple-languages/Tessdata/chi_sim.traineddata b/OCR/.NET/Perform-OCR-on-PDF-with-multiple-languages/Perform-OCR-on-PDF-with-multiple-languages/Tessdata/chi_sim.traineddata new file mode 100644 index 00000000..eeb66cfb Binary files /dev/null and b/OCR/.NET/Perform-OCR-on-PDF-with-multiple-languages/Perform-OCR-on-PDF-with-multiple-languages/Tessdata/chi_sim.traineddata differ diff --git a/OCR/.NET/Perform-OCR-on-PDF-with-multiple-languages/Perform-OCR-on-PDF-with-multiple-languages/Tessdata/spa.traineddata b/OCR/.NET/Perform-OCR-on-PDF-with-multiple-languages/Perform-OCR-on-PDF-with-multiple-languages/Tessdata/spa.traineddata new file mode 100644 index 00000000..f703e053 Binary files /dev/null and b/OCR/.NET/Perform-OCR-on-PDF-with-multiple-languages/Perform-OCR-on-PDF-with-multiple-languages/Tessdata/spa.traineddata differ