iink SDK Web

Answered

Custom resources

In our we app we are using custom math resources. And it used to be a page where i could convert .def file to .res file and use it in app

right now in documentation there is a link that says i can convert it with online tool:
https://developer.myscript.com/docs/interactive-ink/3.0/web/advanced/build-custom-resources/

mentioned here: https://developer.myscript.com/docs/interactive-ink/3.0/web/advanced/build-custom-resources/

and also there are some mentiones about "on device" compiling with 
"GetSupportedSymbols() method of the RecognitionAssetsBuilder object." - havent found this files also 



Best Answer

Hello, 


Thank you for contacting us.


The custom math resources depend on the object you are using for your recognition.

As far as I understand in your application, you are using an Editor with a Math Content part, and want to customize the math resource. So, you must use a custom math grammar:

https://developer.myscript.com/docs/interactive-ink/3.0/web/advanced/build-custom-resources/#grammar-resource

To generate this custom grammar .res file, you can still use the online Resource Builder tool that will generate the .res from you .def, that is available here:

https://developer.myscript.com/support/recognition-assets


The math SK resource and  GetSupportedSymbols method that you mention and that are described  in https://developer.myscript.com/docs/interactive-ink/3.0/web/advanced/build-custom-resources/#math-subset-knowledge

correspond to the new Math Recognizer object introduced by iink SDK 3.0:  https://developer.myscript.com/docs/interactive-ink/3.0/android/advanced/recognizers/


Please let us know whether this answers your questions.


Best regards,


Gwenaëlle




Answer

Hello, 


Thank you for contacting us.


The custom math resources depend on the object you are using for your recognition.

As far as I understand in your application, you are using an Editor with a Math Content part, and want to customize the math resource. So, you must use a custom math grammar:

https://developer.myscript.com/docs/interactive-ink/3.0/web/advanced/build-custom-resources/#grammar-resource

To generate this custom grammar .res file, you can still use the online Resource Builder tool that will generate the .res from you .def, that is available here:

https://developer.myscript.com/support/recognition-assets


The math SK resource and  GetSupportedSymbols method that you mention and that are described  in https://developer.myscript.com/docs/interactive-ink/3.0/web/advanced/build-custom-resources/#math-subset-knowledge

correspond to the new Math Recognizer object introduced by iink SDK 3.0:  https://developer.myscript.com/docs/interactive-ink/3.0/android/advanced/recognizers/


Please let us know whether this answers your questions.


Best regards,


Gwenaëlle



Okay, thanks it seems like https://developer.myscript.com/support/recognition-assets links didnt work for my account, i have tried from another one and it works