Link Grammar Parser

From Wikipedia, the free encyclopedia

The Link Grammar Parser or LinkParser is a parser for English which analyzes sentences using the Link Grammar framework.

It was written by Davy Temperley, Daniel Sleator, and John Lafferty of Carnegie Mellon University.


[edit] Examples

  • Find the verb in the sentence
"he is a big dog".en.sentence.verb.to_s  => "is"
  • Find the direct object of the sentence
"he is a big dog".en.sentence.object.to_s => "dog"

More examples

[edit] References

  • Daniel Sleator and Davy Temperley, "Parsing English with a Link Grammar", Third International Workshop on Parsing Technologies, 1993. PDF
  • Dennis Grinberg, John Lafferty, and Daniel Sleator, "A robust parsing algorithm for link grammars", Proceedings of the Fourth International Workshop on Parsing Technologies, Prague, September, 1995. PDF

[edit] External links