コミュニティ

Setting more than one language of RecognizerParams 回答済み

Hello,

with the DocumentViewer you are able to create a stack of languages.

For example "German, German new spelling and English" in one.

Is the same possible programmatically when defining blocks and setting their RegonizerParams?

 

Like:

                Dim RP As FREngine.RecognizerParams = _Engine.CreateRecognizerParams

                RP.SetPredefinedTextLanguage("German")

 

Is there a chance to add more languages?

 

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

2件のコメント

  • Avatar
    Permanently deleted user

    Hi Philipp,

    Yes, you can define multiple languages by listing them in this command as follows:

    RP.SetPredefinedTextLanguage("German,GermanNewSpelling,English")

     

    Another way is to call ILanguageDatabase::CreateCompoundTextLanguage method.

    To learn more about specifying multiple predefined languages and creating compound languages please visit Developer's Help → Guided Tour →Advanced Techniques → Working with Languages.

    0
  • Avatar
    Permanently deleted user

    Thank you very much!

    0

サインインしてコメントを残してください。