Dear John Machin So sorry about the typo. It should be: "the program should *see* that the designated *words* are..."
"a long way" has two parentheses to the left -- (VP (DT -- before it hits a separate group -- VBD came). If there are three parenthesis, for instance (NP, this will means that what follows "a long way" is a modifier of "a long way", as illustrated below: (VP (VBD came) (NP (NP (DT a) (JJ long) (NN way)) (PP (IN in) So I am trying to capture the grammatical relations following the designated words. -- http://mail.python.org/mailman/listinfo/python-list