Learning parser in python

2020-05-18 16:44发布

I recall I have read about a parser which you just have to feed some sample lines, for it to know how to parse some text.

It just determines the difference between two lines to know what the variable parts are. I thought it was written in python, but i'm not sure. Does anyone know what library that was?

2条回答
你好瞎i
2楼-- · 2020-05-18 17:26

Conceivably you might mean Reverend?

查看更多
仙女界的扛把子
3楼-- · 2020-05-18 17:30

Probably you mean TemplateMaker, I haven't tried it yet, but it builds on well-researched longest-common-substring algorithms and thus should work reasonably... If you are interested in different (more complex) approaches, you can easily find a lot of material on Google Scholar using the query "wrapper induction" or "template induction".

查看更多
登录 后发表回答