# File link.rb, line 91 def getObject(input = "") parse = puts(input) if parse =~ /\[NP .* NP\] \[VP.*\[NP (.*) NP\].*VP\]/ r = $1.to_s r = process(r) p "[link.getObject] returning: " + r unless not $DEBUG return r end return "I can't find the object in " + input.to_s end