On Aug 18, 11:37 pm, "Jack" <[EMAIL PROTECTED]> wrote: > Thanks for all the replies! > > SPARK looks promising. Its doc doesn't say if it handles unicode > (CJK in particular) encoding though. > > Yapps also looks powerful:http://theory.stanford.edu/~amitp/yapps/ > > There's also PyGgyhttp://lava.net/~newsham/pyggy/ > > I may also give Antlr a try. > > If anyone has experiences using any of the parser generators with CJK > languages, I'd be very interested in hearing that. > > Jack > > "Jack" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > > > 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.- Hide quoted text - > > - Show quoted text -
Jack - Pyparsing was already mentioned once on this thread. Here is an application using pyparsing that parses Chinese characters to convert to English Python. http://pypi.python.org/pypi/zhpy/0.5 -- Paul -- http://mail.python.org/mailman/listinfo/python-list