SmartZone v8.0 - Updated
Accusoft.SmartZoneOCR.Net Assembly / Accusoft.SmartZoneOCRSdk Namespace / CharacterSet Class / SetMultipleLanguages Method




In This Topic
    SetMultipleLanguages Method
    In This Topic

    Sets this CharacterSet to use multiple languages for OCR. These languages must belong to the same language family. This will overwrite any languages previously set by calls to this function.

    Syntax
    'Declaration
     
    
    Public Function SetMultipleLanguages( _
       ByVal languages() As Language _
    ) As Boolean
    'Usage
     
    
    Dim instance As CharacterSet
    Dim languages() As Language
    Dim value As Boolean
     
    value = instance.SetMultipleLanguages(languages)
    public bool SetMultipleLanguages( 
       Language[] languages
    )
    public: bool SetMultipleLanguages( 
       Language[]* languages
    ) 
    public:
    bool SetMultipleLanguages( 
       array<Language>^ languages
    ) 

    Parameters

    languages

    Return Value

    Will return false if the languages belong to incompatible families. In which case, no properties of the CharacterSet will be updated.
    Remarks
    Notes:
    • For best performance, select only the necessary languages. Increasing the number of languages can cause recognition to be slower and less accurate. Setting duplicate languages can also have a negative impact on accuracy.
    • The English characters [A..Z a..z] are available in most languages, including Greek and Cyrillic.
    • Multiple languages must be in the same language family group. (See Language Families table below.)
    • Thai and English may be selected together even though they are in different language families.
    • Vietnamese and English may be selected together even though they are in different language families.
    • When ChineseSimplified and ChineseTraditional are selected, both languages are read and the character with the highest confidence is used in the result.
    • ChineseSimplified, ChineseTraditional, ChineseTraditionalHk, Japanese, Korean, Thai or Vietnamese are only available if the SmartZone SDK has been licensed for Asian languages.

    Language Families:
    Language Family Languages
    Latin/Cyrillic Afrikaans, Albanian, AzerbaijaniCyrillic, AzerbaijaniLatin, Baltic, Basque, Belarusian, BosnianLatin, Bulgarian, Catalan, CentralEuropean, Croatian, Cyrillic, Czech, Danish, Dutch, English, Estonian, Faroese, Finnish, Frisian, French, German, Guarani, Hani, Hungarian, Icelandic, Indonesian, Irish, Italian, KazakhCyrillic, KazakhLatin, KirghizCyrillic, Kirundi, Latin, Latvian, Lithuanian, Luxembourgish, Macedonian, Malay, Norwegian, Polish, Portuguese, Quechua, RhaetoRomanic, Romanian, Russian, Rwanda, Spanish, Swedish, SerbianCyrillic, SerbianLatin, Shona, Slovak, Slovenian, Somali, Sorbian, Swahili, TajikCyrillic, Turkish, TurkmenCyrillic, TurkmenLatin, Ukrainian, UzbekCyrillic, UzbekLatin, WesternEuropean, Wolof, Xhosa, Zulu.
    Greek Greek
    Chinese ChineseTraditional, ChineseSimplified
    Chinese Hong Kong ChineseTraditionalHk
    Japanese Japanese
    Korean Korean
    Thai Thai
    Vietnamese Vietnamese
    See Also