Closed vicawil closed 6 years ago
This works, too. I'm using the develop
branch.
String text = "c";
Annotation annotation = pipeline.runRaw(text);
String json = JSONOutputter.jsonPrint(annotation);
System.out.println(json);
Oops, correct, apparently only the stable version is affected.
I came across this issue when processing text with some noise (inline XML-like tags, sometimes inside tokens), where a 'c' was separated from a token by a punctuation character. The most basic way to trigger this exception is to pass the single character "c".