Saturday, September 1, 2012

Marpa

Marpa is a new parser module (and algorithm) that somehow God has seen fit to provide in Perl first.  I mean, not God, but His messenger on Earth, Jeffrey Kegler.

The list of Marpa's features seem nothing short of, well, everything I ever wanted in a parser, and so I will be rebuilding Decl's parsing on Marpa and throwing out my own parsing code.  I'm actually pretty darn proud of that parsing code, of course, having invested a couple of months in it, but - well, I learned a lot and it's a thing to remain proud of, but if somebody else is doing a more thorough job with something, it's always true that you're better off stealing their work.

I wonder how successful Marpa would be in analyzing natural language?

No comments:

Post a Comment