Efficient Context-Free Grammar parser, preferably Python-friendly

后端 未结 8 464
心在旅途
心在旅途 2020-12-24 03:08

I am in need of parsing a small subset of English for one of my project, described as a context-free grammar with (1-level) feature structures (example) and I need to do it

8条回答
  •  悲哀的现实
    2020-12-24 03:44

    I think ANTLR is the best parser-generator that I know of for Java. I don't know if Jython would provide you a good way for Python and Java to interact.

提交回复
热议问题