[alicebot-archcomm] input and that

John Foderaro alicebot-archcomm@list.alicebot.org
Mon, 01 Apr 2002 07:39:54 -0800


Section 7.1.3 of 
	http://www.alicebot.org/TR/2001/WD-aiml/

says:
    The input element tells the AIML interpreter that it should 
    substitute the contents of a previous user input.


my question is: is this the exact input the user provided or is
is the input after substitution?

For example, given:   
        I'm Mr. Smith
is <input> going to return

        I'm Mr. Smith
or
        I am Mr Smith






 I've got the same question of <that> in section 7.1.2,
should <that> return bot output or the result of doing 
substitution over bot output.



The reason that I believe that substitution is important for
these elements is that the elements specify a particular 
sentence of the input or reply and substitution is used
to remove characters that would otherwise cause the sentence
to be broken prematurely.   Now with a bit of programming
work you could do the substitutions, break the string
into sentences and then undo the substitutions thus giving
the raw user input or bot output.  Is this what should be done?



-john foderaro