iink SDK on Device

Answered

How to change the language recognition

语言变化失败

image

image

image





Best Answer

Dear Sir,


thank you for your question.


Currenly, the "setString" is properly called when setting the language and it then seems the zh_CN was properly deployed.


Nevertheless, your zh_CN.conf file is normally defined as follows:

Bundle-Version: 1.0
Bundle-Name: zh_CN
Configuration-Script:
 AddResDir ../resources/

Name: text
Type: Text
Configuration-Script:
 AddResource zh_CN/zh_CN-ak-cur.res
 AddResource zh_CN/zh_CN-lk-text.res
 AddResource mul/mul-lk-english_secondary_2.res
 SetHalfWidthFullWidthScheme AUTO
 EnableAlienCharacters
 SetTextListSize 1
 SetWordListSize 5
 SetCharListSize 1


In your case, I do not see the "mul" directory and the corresponding  mul-lk-english_secondary_2.res resource. These are normally located into the myscript-iink-recognition-text-zh_CN.zip file you downloaded.  Please ensure to properly create the "mul" directory and add the corresponding resource.


Best regards,


Olivier

1 Comment

Answer

Dear Sir,


thank you for your question.


Currenly, the "setString" is properly called when setting the language and it then seems the zh_CN was properly deployed.


Nevertheless, your zh_CN.conf file is normally defined as follows:

Bundle-Version: 1.0
Bundle-Name: zh_CN
Configuration-Script:
 AddResDir ../resources/

Name: text
Type: Text
Configuration-Script:
 AddResource zh_CN/zh_CN-ak-cur.res
 AddResource zh_CN/zh_CN-lk-text.res
 AddResource mul/mul-lk-english_secondary_2.res
 SetHalfWidthFullWidthScheme AUTO
 EnableAlienCharacters
 SetTextListSize 1
 SetWordListSize 5
 SetCharListSize 1


In your case, I do not see the "mul" directory and the corresponding  mul-lk-english_secondary_2.res resource. These are normally located into the myscript-iink-recognition-text-zh_CN.zip file you downloaded.  Please ensure to properly create the "mul" directory and add the corresponding resource.


Best regards,


Olivier