RecAPI
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Modules Pages

Language info. More...

#include <KernelApi.h>

Public Attributes

BASIC_LANGUAGE_CHARSET iLangGroup
 
CONTINENT iContinent
 
char EnglishName [17]
 
char Name_BCP_47 [11]
 
char Name_Int_3 [4]
 
char Name_639_1 [3]
 
char Name_639_2B [4]
 
char Name_639_3 [4]
 
char Name_Win_3 [4]
 
WORD LangID
 
RM_FLAGS rm_support
 

Detailed Description

Language info.

This structure gives detailed information about a given language (kRecGetLanguageInfo). In addition, it can be used to select a set of languages (kRecFindLanguages). The supported standards are ISO/DIS 639-1, ISO/DIS 639-2/B, ISO/DIS 639-3, BCP 47 and Windows 3-letter language codes as well as CSDK internal 3-letter codes. There are some special language codes handled in a different way. See the list of language identifiers for details.

Member Data Documentation

◆ EnglishName

char LANGUAGE_INFO::EnglishName[17]

English descriptive name of the language, zero terminated string.

◆ iContinent

CONTINENT LANGUAGE_INFO::iContinent

Geographical location.

◆ iLangGroup

BASIC_LANGUAGE_CHARSET LANGUAGE_INFO::iLangGroup

Language group (basic character set).

◆ LangID

WORD LANGUAGE_INFO::LangID

Windows LANGID (LCID) for the language. Not all languages have a Windows LANGID; in these cases, this field contains the ID of English.

◆ Name_639_1

char LANGUAGE_INFO::Name_639_1[3]

2 letter language name abbreviation (ISO/DIS 639-1) zero terminated string.

◆ Name_639_2B

char LANGUAGE_INFO::Name_639_2B[4]

3 letter language name abbreviation for bibliography (ISO/DIS 639-2/B) zero terminated string.

◆ Name_639_3

char LANGUAGE_INFO::Name_639_3[4]

3 letter language name abbreviation (ISO/DIS 639-3) zero terminated string.

◆ Name_BCP_47

char LANGUAGE_INFO::Name_BCP_47[11]

BCP 47 language name abbreviation, zero terminated string.

◆ Name_Int_3

char LANGUAGE_INFO::Name_Int_3[4]

3 letter CSDK Internal language name abbreviation, zero terminated string.

◆ Name_Win_3

char LANGUAGE_INFO::Name_Win_3[4]

3 letter language name abbreviation for Windows (non-ISO) zero terminated string.

◆ rm_support

RM_FLAGS LANGUAGE_INFO::rm_support

Recognition modules that are able to process text written in this language.