simongray / StatementAnnotator

Custom annotator for Stanford CoreNLP that annotates sentences with the underlying statements contained within them.
4 stars 0 forks source link

acl:relcl can be used for basic in-sentence anaphora #58

Open simongray opened 7 years ago

simongray commented 7 years ago

Example:

I'm in the Nordsjælland/copenhagen area which I don't really think has a very rich regional good culture.

The acl:relcl starts with which. It should be possible to assign the Object of the first statement to a statement built from the acl:relcl scope.

simongray commented 7 years ago

The interesting thing about acl:relcl is that the governor of the relation should appear both in the root scope as a component, but also in the clause scope, e.g.

"I saw the man you love"

In this case, "the man" is the object of both "I saw the man" and "the man you love".