Using more than one language configuration in an app
N
Nicolas Morin
started a topic
over 4 years ago
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
G
Gwenaelle @MyScript
said
over 4 years ago
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.
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.
Nicolas Morin
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!
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
- Oldest First
- Popular
- Newest First
Sorted by PopularGwenaelle @MyScript
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
Nicolas Morin
Thank you. I will give it a try.