See https://github.com/GateNLP/python-gatenlp/issues/165
See GateNLP/python-gatenlp#165