Parsing string for "<verb> <noun>"
Aahz
aahz at pythoncraft.com
Wed Jan 12 17:07:28 EST 2011
In article <0d7143ca-45cf-44c3-9e8d-acb867c52037 at f30g2000yqa.googlegroups.com>,
Daniel da Silva <ddasilva at umd.edu> wrote:
>
>I have come across a task where I would like to scan a short 20-80
>character line of text for instances of "<verb> <noun>". Ideally
><verb> could be of any tense.
In Soviet Russia, <noun> <verbs> you!
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"Think of it as evolution in action." --Tony Rand
More information about the Python-list
mailing list