knowitall / ollie

Ollie is a open information extractor that uses bootstrapped dependency paths.
http://knowitall.github.io/ollie/
Other
243 stars 77 forks source link

Add a missing "rel rel" pattern #10

Open schmmd opened 11 years ago

schmmd commented 11 years ago

In the following sentence we don't get the desired rel rel extraction from the first clause.

President Fred's forces have resorted to firing ballistic missiles at rebel fighters inside Syria, Obama administration officials said Wednesday, escalating a nearly two-year-old civil war as the government struggles to slow the momentum of a gaining insurgency.

(President Fred 's forces, have resorted to firing, ballistic missiles)

However, we do get a rel rel extraction when we change the second relation verb to a VB.

President Fred's forces have resorted to fire ballistic missiles at rebel fighters inside Syria, Obama administration officials said Wednesday, escalating a nearly two-year-old civil war as the government struggles to slow the momentum of a gaining insurgency.

(President Fred 's forces, have resorted to fire, ballistic missiles)

I need to add the missing pattern.

schmmd commented 11 years ago

Unfortunately changing the verb from firing to fire changes the edge before the rel2 from a correct xcomp to an incorrect `prepc. I'm not sure if I want to make this change--ideally MaltParser would improve.