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?
Comments
2 comments
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.
Thank you very much!
Please sign in to leave a comment.