Re: Parser Generator?
- From: Paul McGuire <ptmcg@xxxxxxxxxxxxx>
- Date: Fri, 24 Aug 2007 17:51:16 -0700
On Aug 18, 11:37 pm, "Jack" <nos...@xxxxxxxxxxx> 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...@xxxxxxxxxxx> wrote in message
news:abKdnVoQMu2o7FrbnZ2dnUVZ_gqdnZ2d@xxxxxxxxxxxxxx
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
.
- Follow-Ups:
- Re: Parser Generator?
- From: Jack
- Re: Parser Generator?
- References:
- Parser Generator?
- From: Jack
- Re: Parser Generator?
- From: Jack
- Parser Generator?
- Prev by Date: Re: py2exe/distutils: how to include a tree of files?
- Next by Date: Re: py2exe/distutils: how to include a tree of files?
- Previous by thread: Re: Parser Generator?
- Next by thread: Re: Parser Generator?
- Index(es):
Relevant Pages
|
|