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.
need to separate out the context resolving code into perhaps a separate ContextResolver class, perhaps an interface to be implemented by different classes?
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.