Subject: | New bug report: "Doesn't convert 'a' to '1' " |
Date: | Wed, 27 Jul 2016 15:03:35 +0530 |
To: | bug-Lingua-EN-Numericalize [...] rt.cpan.org |
From: | Shadab Khan <shadabkhan [...] openmailbox.org> |
The module works well for converting strings to numbers but fails to
convert 'a' to '1'.
NOTE: This bug is observed as the query "Roll a dice" does not
successfully convert to "Roll 1 dice" in the DuckDuckGo search Instant
Answer.
Links:
Search query with roll 1 dice: https://duckduckgo.com/?q=roll+1+dice
Search query with roll a dice: https://duckduckgo.com/?q=roll+a+dice
Source code of instant answer for roll dice:
https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/Dice.pm
--
-Shadab Khan