OCR SDK Knowledge Base

Article ID: 1091 | Category: Recognition | Type: How To | Last Modified: 12/13/2016

Language characters

Description

How can I get a list of all of the characters used in a language in ABBYY FineReader Engine?

Solution

Every FR Engine language consists of one or more base languages. To get the list of all the characters in any FR Engine language, get the characters in all of its base languages.

C# sample for Norwegian language:

FREngine.TextLanguage textLanguage=engineLoader.Engine.PredefinedLanguages.FindLanguage("Norwegian").TextLanguage;
for (int i = 0; i < textLanguage.BaseLanguages.Count; i++)
string s = textLanguage.BaseLanguages[i].get_LetterSet(FREngine.BaseLanguageLetterSetEnum.BLLS_Alphabet); //now base language alphabet is in the string s
510 people think this is helpful.
Was this information helpful to you?