We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As I run the chatterbot with math logic and evaluate the following sentences:
“10 plus 2 squared times 3” “10 plus (2 squared) times 3”
must have the same results with 22.
However, the previous answer is 2,985,984, and the latter one is 22.
I think it happens because of mathparse, especially to_postfix() (the precedence of ^ and others)
to_postfix()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As I run the chatterbot with math logic and evaluate the following sentences:
“10 plus 2 squared times 3”
“10 plus (2 squared) times 3”
must have the same results with 22.
However, the previous answer is 2,985,984, and the latter one is 22.
I think it happens because of mathparse, especially
to_postfix()
(the precedence of ^ and others)The text was updated successfully, but these errors were encountered: