we are using ABBYY finereader engine 11 in our java application. we want to OCR support for specific languages only. as example we want to support only English and German language documents to be processed. can we do that? if yes then can you please give us the example of that.

asked 24 Apr '15, 17:17

Dipal%20Darji's gravatar image

Dipal Darji
1


Hello,

You can do something like this to tell you are processing documents in English and German:

IDocumentProcessingParams docProcessingParams = engine.CreateDocumentProcessingParams();
IRecognizerParams recognizerParams = docProcessingParams.getPageProcessingParams().getRecognizerParams();
ILanguageDatabase languageDatabase = engine.CreateLanguageDatabase();
ITextLanguage textLanguage = languageDatabase.CreateCompoundTextLanguage("English,German");
recognizerParams.setTextLanguage(textLanguage);
...         
document.Process(docProcessingParams);
link

answered 29 Apr '15, 10:49

maol's gravatar image

maol
2911

@maol : thank you for your answer.I implemented your code, but still its processing all language's documents. i have tried Arabic,chines,dutch,french,Italian. please help me.

(01 May '15, 13:49) Dipal Darji

Also you can call the SetPredefinedTextLanguage method with a parameter which contains several language names separated with commas, for example "English,German". The program will automatically select the language of the document from the specified set. But please note that in general the recognition quality is better when less languages are specified.

link

answered 06 May '15, 12:26

Oksana%20Serdyuk's gravatar image

Oksana Serdyuk ♦♦
1.5k16

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×9
×9

Asked: 24 Apr '15, 17:17

Seen: 885 times

Last updated: 06 May '15, 12:26

© 2016 ABBYY. All rights Reserved. www.ABBYY.com | Privacy Policy | Legal