related to python

salil_reeves salil_reeves at yahoo.co.in
Wed May 21 22:34:08 EDT 2008


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




More information about the Python-list mailing list