develop a function called standardise_phrase to convert
the user's input to a standard form for subsequent processing. This 
involves:
1. removing all inter-word punctuation, which for our purposes is 
assumed to
consist only of commas (`,'), full stops (`.'), exclamation marks 
(`!') or
question marks (`?');
2. stripping away any leading and trailing blank spaces; and
3. replacing words in the user's input with ELIZA's preferred 
vocabulary.
how it is done ??
can anyone help me with it

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to