[alicebot-general] Matching fractions inside condition.
Dietmar Janetzko
dietmarja at gmail.com
Wed Feb 7 07:21:33 PST 2007
I ran into an issue with the slash sign "/" inside condition.
I want to allow users of an AIML application to use fraction like 1/3
so that they can make probability statements.
However, a user input like "1/3" will not match with a value specification like
<li name="star" value="1/3"> inside condition. Masking the slash does
not seem to work inside condition. I ran into the same problems when I
used 1:3.
Other signs (which are in this setting not appropriate) like 1-3 work
fine. Moreover, displaying the slash sign does work in other
conditions (e.g., displayed to the user, used as a value of a normal
AIML variable).
I use <?xml version="1.0" encoding="UTF-8"?> and ProgramE.
Any ideas?
Dietmar Janetzko
More information about the alicebot-general
mailing list