The logic appears to be incorrect when the properties argument is not None in the annotate() call. It looks like this line should be outdented. Workaround is to set properties when instantiating CoreNLPClient instead.
Ah the current logic is that when you specify properties as an argument to annotate, it is used instead of the default properties as opposed to being merged / updated from the default properties.
The logic appears to be incorrect when the properties argument is not None in the annotate() call. It looks like this line should be outdented. Workaround is to set properties when instantiating CoreNLPClient instead.