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 -- http://mail.python.org/mailman/listinfo/python-list