Interactive Ink

custom math grammar

Is possible an using custom math grammar on iink SDK?

For example, we made a custom grammar for integer only on SDK of previous version.

// terminal symbol definitions

symbol1 = 0 1 2 3 4 5 6 7 8 9

// rule definitions

exponentiable ::= identity(symbol1)

term ::= identity(exponentiable)

    | hpair(term, term)

expression ::= identity(term)

// start symbol

start(expression)


Dear Woongki Kim,


It is possible to generate a custom grammar using the online tool and attach it : https://developer.myscript.com/support/recognition-assets#resource-builder


Let me know if this is usefull.


Regards,


Maël


1 person likes this

Thank you for a reply.