dicio-android
dicio-android copied to clipboard
Calculator Functions
I can see that there some basic mathematics comprehension integrated, but what are the limits?
For example, could you throw algebraic formulae and expect an answer?
So far, I tried throwing intermediate multiplication (powers, worked fine) and division (square root, was ignored or misunderstood), however I would like to know what the limits are, so as to be able to push them farther.
Also, whenever I speak, "2" and "4" are recognized as "to" and "for", respectively.
For example, could you throw algebraic formulae and expect an answer?
No, the calculator is not intended for that at the moment. Currently it only understands + - * / ^, and it doesn't even take parenthesis into consideration. Understanding voice user input and converting it into a formula might be too difficult and ambiguous, so only the basic operations are supported. I would not oppose, though, implementing a calculator with more options that pops up in the output screen whenever the user invokes the calculator.
Also, whenever I speak, "2" and "4" are recognized as "to" and "for", respectively.
That's a known issue, but unfortunately there is not much that can be done since this is a problem of the voice recognizer, Vosk.
Thanks, I do wonder what could be added while still remaining relatively basic (I would argue that square root, and possibly also cube root (the inverse of powers that are not 2) may fit that criteria).
Unrelated rant: GBoard's autocorrect is annoying in newer versions (changing "or" to "it", "fit" to "for", amongst other changes while swiping), so some of my posts are edited after the fact to account for that.
I would argue that square root, and possibly also cube root (the inverse of powers that are not 2) may fit that criteria
Yeah, that seems reasonable
Presently, Dicio ignores square roots: