Class Link
In: link.rb
Parent: Object

Methods

getNP1   getNP2   getObject   getResponse   getSVO   getSubject   getV1   get_simple_parse   gets   new   process   puts  

Public Class methods

Public Instance methods

Get the first NP in questions of the form: is NP1 NP2?

Get the second NP in questions of the form: is NP1 NP2?.

Try to get the object of a declarative sentence.

Get the subject, which should be the first NP.

Try to get the main verb of the sentence. TODO: fix problems with conjunctions and adverbial phrases…

Get a more abstract linguistic representation of the parse

Strip r of constituent tags.

[Validate]