Parser Generator?

Paul McGuire ptmcg at austin.rr.com
Fri Aug 24 20:51:16 EDT 2007


On Aug 18, 11:37 pm, "Jack" <nos... at invalid.com> 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" <nos... at invalid.com> wrote in message
>
> news:abKdnVoQMu2o7FrbnZ2dnUVZ_gqdnZ2d at comcast.com...
>
>
>
> > 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




More information about the Python-list mailing list