MycroftAI / fallback-wolfram-alpha

Mycroft AI official Wolfram Alpha Skill - used as a fallback if an Intent is not matched
https://mycroft.ai/skills
Apache License 2.0
8 stars 24 forks source link

improve regex - upper-case fails #12

Closed JarbasAl closed 4 years ago

JarbasAl commented 6 years ago

question parser needs some work

02:57:44.023 - WolframAlphaSkill - DEBUG - WolframAlpha fallback attempt: When will the world end?
02:57:44.024 - WolframAlphaSkill - DEBUG - Non-question, ignoring: When will the world end?

02:52:10.739 - WolframAlphaSkill - DEBUG - WolframAlpha fallback attempt: What is the speed of light?
02:52:10.739 - WolframAlphaSkill - DEBUG - Non-question, ignoring: What is the speed of light?

this is when i type in the cli, if i do it lower case it works

02:57:56.123 - WolframAlphaSkill - DEBUG - WolframAlpha fallback attempt: when will the world end 02:57:56.123 - WolframAlphaSkill - DEBUG - Querying WolframAlpha: when will the world end

krisgesling commented 4 years ago

This seems to have been fixed by Steve earlier this year https://github.com/MycroftAI/fallback-wolfram-alpha/commit/cd96812983c4be415eea0110e5c81f34fb317572

Closing