first , Whether chemistry formula is supported in myScript?
second , how to use text and math type in one fragment?
Best Answer
O
Olivier @MyScript
said
over 1 year ago
Dear Czj Chen,
at present, we have a technology limitation that makes "= overscript delta" difficult to recognize when "=" can also be recognized.
Nevertheless, other "more common" chemical recognition such as "harpoon overscript delta" are easily recognized.
I then created a custom grammar definition file such as the following one (please note it allows "= overscript delta" but not "=" by itself):
// terminal symbol definitions
symbol1 = 0 1 2 3 4 5 6 7 8 9
symbol2 = + ← → ↼ ⇀ ↽ ⇁
⇋ ⇌
delta = △
egal = =
chemicalSymbols = He Li Be Ne Na Mg Al Si Cl Ar Ca Sc Ti
Cr Mn Fe Co Ni Cu Zn Ga Ge As Se Br Kr
Rb Sr Zr Nb Mo Tc Ru Rh Pd Ag Cd In Sn
Sb Te Xe Cs Ba Hf Ta Re Os Ir Pt Au Hg
Tl Pb Bi Po At Rn Fr Ra Rf Db Sg Bh Hs
Mt Ds Rg Cn Uut Uuq Uup Uuh Uus Uuo La
Ce Pr Nd Pm Sm Eu Gd Tb Dy Ho Er Tm Yb
Lu Ac Th Pa Np Pu Am Cm Bk Cf Es Fm Md
No Lr C O
term ::= identity(chemicalSymbols)
| identity(symbol2)
| overscript(symbol2, delta)
| overscript(egal, delta)
| identity(egal)
| hpair(term, term)
| subscript(chemicalSymbols, symbol1)
expression ::= identity(term)
// start symbol
start(expression)
2-If I understand well, you would like our solution to be able to recognize Math and Text at the same time? This is currently not possible, you shall manage by yourself to get the "Math" and "Text" ink, then send the corresponding one to the proper recognizer.
Best regards,
Olivier
1 person likes this
c
czj chen
said
over 1 year ago
Thank you,I am chinese ,so ,english is not so good
c
czj chen
said
over 1 year ago
myScript can recognition 'Δ' ,but i want to recognition simultaneously 'Δ' and '=',myScript do not work,please see image,is there any solution way
O
Olivier @MyScript
said
over 1 year ago
Answer
Dear Czj Chen,
at present, we have a technology limitation that makes "= overscript delta" difficult to recognize when "=" can also be recognized.
Nevertheless, other "more common" chemical recognition such as "harpoon overscript delta" are easily recognized.
I then created a custom grammar definition file such as the following one (please note it allows "= overscript delta" but not "=" by itself):
// terminal symbol definitions
symbol1 = 0 1 2 3 4 5 6 7 8 9
symbol2 = + ← → ↼ ⇀ ↽ ⇁
⇋ ⇌
delta = △
egal = =
chemicalSymbols = He Li Be Ne Na Mg Al Si Cl Ar Ca Sc Ti
Cr Mn Fe Co Ni Cu Zn Ga Ge As Se Br Kr
Rb Sr Zr Nb Mo Tc Ru Rh Pd Ag Cd In Sn
Sb Te Xe Cs Ba Hf Ta Re Os Ir Pt Au Hg
Tl Pb Bi Po At Rn Fr Ra Rf Db Sg Bh Hs
Mt Ds Rg Cn Uut Uuq Uup Uuh Uus Uuo La
Ce Pr Nd Pm Sm Eu Gd Tb Dy Ho Er Tm Yb
Lu Ac Th Pa Np Pu Am Cm Bk Cf Es Fm Md
No Lr C O
term ::= identity(chemicalSymbols)
| identity(symbol2)
| overscript(symbol2, delta)
| overscript(egal, delta)
| identity(egal)
| hpair(term, term)
| subscript(chemicalSymbols, symbol1)
expression ::= identity(term)
// start symbol
start(expression)
czj chen
i have two questions.
first , Whether chemistry formula is supported in myScript?
second , how to use text and math type in one fragment?
Dear Czj Chen,
at present, we have a technology limitation that makes "= overscript delta" difficult to recognize when "=" can also be recognized.
Nevertheless, other "more common" chemical recognition such as "harpoon overscript delta" are easily recognized.
I then created a custom grammar definition file such as the following one (please note it allows "= overscript delta" but not "=" by itself):
You can then compile and attach it as explained in our documentation: https://developer.myscript.com/docs/interactive-ink/1.3/android/advanced/build-custom-resources/#math
Let us know if you have further questions.
Best regards,
Olivier
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstOlivier @MyScript
Dear Czj Chen,
thank you for contacting us and your questions.
To answer these:
1-The full list of supported symbols by the Math recognizer is available here: https://developer.myscript.com/docs/interactive-ink/1.3/overview/math-elements-and-rules/
You can refer to the "Chemical elements" part to see the ones we support.
We recommend you create your custom math gramar definitions, so that you constrain the recognition and increase the accuracy: https://developer.myscript.com/docs/interactive-ink/1.3/android/advanced/build-custom-resources/#math
2-If I understand well, you would like our solution to be able to recognize Math and Text at the same time? This is currently not possible, you shall manage by yourself to get the "Math" and "Text" ink, then send the corresponding one to the proper recognizer.
Best regards,
Olivier
1 person likes this
czj chen
Thank you,I am chinese ,so ,english is not so good
czj chen
myScript can recognition 'Δ' ,but i want to recognition simultaneously 'Δ' and '=',myScript do not work,please see image,is there any solution way
Olivier @MyScript
Dear Czj Chen,
at present, we have a technology limitation that makes "= overscript delta" difficult to recognize when "=" can also be recognized.
Nevertheless, other "more common" chemical recognition such as "harpoon overscript delta" are easily recognized.
I then created a custom grammar definition file such as the following one (please note it allows "= overscript delta" but not "=" by itself):
You can then compile and attach it as explained in our documentation: https://developer.myscript.com/docs/interactive-ink/1.3/android/advanced/build-custom-resources/#math
Let us know if you have further questions.
Best regards,
Olivier
1 person likes this