knowitall / openie

Quality information extraction at web scale.
Other
457 stars 108 forks source link

Why preposition located in argument2? #13

Closed jerryli1981 closed 9 years ago

jerryli1981 commented 10 years ago

I extracted from this sentence " He cited a new study that was released by UCLA in 2008" [a new study] [was released] [by UCLA] [a new study] [was released] [in 2008]

I am wondering why "by" and "in" were not located in relation phrase Thanks

pcyin commented 10 years ago

Sometimes you get multiple objects in one extracted assertion. E.g.:

[a new study] [was released] [by UCLA] [in 2008]

If the preposition (e.g., by) is located in the relation phrase:

[a new study] [was released by] [UCLA] [in 2008]

it would be a bit of confusing if you look at the the relation phrase and the 2nd object (3rd argument) altogether:

[was released by] [in 2008]

but it is purely a matter of implementation, you can modify the code to put the preposition of the first object to the end of relation phrase :)

bhadramani commented 9 years ago

It is by design.