Parser Generator?

Diez B. Roggisch deets at nospam.web.de
Sat Aug 18 18:42:50 EDT 2007


Jack schrieb:
> Hi all, I need to do syntax parsing of simple naturual languages,
> for example, "weather of London" or "what is the time", simple
> things like these, with Unicode support in the syntax.
> 
> In Java, there are JavaCC, Antlr, etc. I wonder what people use
> in Python? Antlr also has Python support but I'm not sure how good
> it is. Comments/hints are welcome. 

There are several options. I personally like spark.py, the most common 
answer is pyparsing, and don't forget to check out NLTK, the natural 
language toolkit.

Diez



More information about the Python-list mailing list