simongray / StatementAnnotator

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

Nested statements redux #43

Closed simongray closed 8 years ago

simongray commented 8 years ago

It seems apparent that the CCOMP and XCOMP relations are what I need for nested scopes. I have been using XCOMP for creating " " constructions for use as DirectObjects, but that construction might as well just be a nested statement instead.

Unfortunately, the nested statements are hacked into the component linking process and it's really not working out. I suggest re-doing it by finding CCOMP and XCOMP scopes in the very beginning and using these scopes to separate statements. If any of the statements that are separated by the scope still have some connection, then this can be used to create nested statements.

simongray commented 8 years ago

I'm dedicating the branch "xcomp" to this issue.