iink SDK on Device

Answered

Using more than one language configuration in an app

We are using the Japanese language configuration in the Engine for our app but noticed that while recognition for Japanese is quite good, recognition for English words and letters is not very good. So we are thinking about having the option of selecting between English and Japanese when creating a new page, a bit like the nebo app.

How can we do this? Should we create 2 engines, set their configurations to each language and use the appropriate engine to create a page in the desired language?

Also, do you think English recognition would be improved by using the English configuration instead of Japanese?

Thank you!


Best Answer

Dear Nicolas,


Thank you for your question. 

Indeed setting the language to English when performing English recognition improves the recognition, compared to using the English secondary language when another language is configured.


The language configuration is taken into account when creating the ContentPart. So you don't need to create two engines: you can use the same engine but with two different ContentParts each one with its own language. You have to make sure to configure the right language before creating the corresponding ContentPart.


Best regards,


Gwenaëlle


Answer

Dear Nicolas,


Thank you for your question. 

Indeed setting the language to English when performing English recognition improves the recognition, compared to using the English secondary language when another language is configured.


The language configuration is taken into account when creating the ContentPart. So you don't need to create two engines: you can use the same engine but with two different ContentParts each one with its own language. You have to make sure to configure the right language before creating the corresponding ContentPart.


Best regards,


Gwenaëlle

Thank you. I will give it a try.