Learning parser in python

前端 未结 2 568
小鲜肉
小鲜肉 2021-01-31 22:36

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 l

2条回答
  •  旧时难觅i
    2021-01-31 22:51

    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".

提交回复
热议问题