[Tutor] extracting phrases and their memberships from syntax

Emad Nawfal (عماد نوفل) emadnawfal at gmail.com
Sat Feb 14 16:28:12 CET 2009


2009/2/14 Paul McGuire <ptmcg at austin.rr.com>

> -----Original Message-----
> From: Emad Nawfal (عماد نوفل) [mailto:emadnawfal at gmail.com]
> Sent: Saturday, February 14, 2009 8:59 AM
> To: Paul McGuire
> Cc: tutor at python.org
> Subject: Re: [Tutor] extracting phrases and their memberships from syntax
>
>
> Thank you so much Paul, Kent, and Hoftkamp.
> I was asking what the right tools were, and I got two fully-functional
> scripts back. Much more than I had expected.
>
> I'm planning to use these scripts instead of the Perl one. I've also
> started
> with PyParsing as it seems to be a little easier to understand than PLY.
>
> <snip>
> ---------------------------
> Glad to help - actually, I sent 2 working scripts, and Kent sent 1, so I
> count THREE fully-functional scripts! ;)  Also, Kent's recursive example
> code for traversing the returned parse tree should also work with the data
> structure that the pyparsing example returns.
>
> Please make use of the pyparsing samples and documentation available at the
> pyparsing wiki - pyparsing.wikispaces.com.  Also, if you use the Windows
> binary or easy_install installations, you don't get the help and example
> directories - download the source ZIP distribution, and you get a lot more
> helpful information.
>
> -- Paul
>
> Thanks Paul.
Yesterday I downloaded PyParsing and downloaded "Getting Started with
Pyparsing" from O'Reilly. It is really good. What I like most about
Pyparsing is that it is very easy to understand. Suitable for an
ever-amateur like me. This is all I can say. I have no means of telling what
the difference between it and PLY is.


-- 
لا أعرف مظلوما تواطأ الناس علي هضمه ولا زهدوا في إنصافه كالحقيقة.....محمد
الغزالي
"No victim has ever been more repressed and alienated than the truth"

Emad Soliman Nawfal
Indiana University, Bloomington
http://emnawfal.googlepages.com
--------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090214/ac35b65e/attachment-0001.htm>


More information about the Tutor mailing list