simongray / StatementAnnotator

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

Add config option: contextResolver #13

Closed simongray closed 8 years ago

simongray commented 8 years ago

In this case, the default "contextResolver" option would be "treepaths" for the current implementation of longest uninterrupted path. This options doesn't seem too valuable.

Other options might be "biyani" for an implementation approaching the Biyani paper, "winningentity" for an algorithm where a single entity gains the sentiment of the entire sentence or a "combo" option.

simongray commented 8 years ago

need to separate out the context resolving code into perhaps a separate ContextResolver class, perhaps an interface to be implemented by different classes?