expectedRanges.add(new Range(16, 2)); // the wake
expectedRanges.add(new Range(19, 3)); // this unthinkable tragedy
OpenNlpChunkedSentenceParser reader = new OpenNlpChunkedSentenceParser();
reader.attachOfs(false);
ChunkedSentence sent = reader.parseSentence(sentStr);
ArrayList<Range> gotRanges = new ArrayList<Range>();
Iterables.addAll(gotRanges, sent.getNpChunkRanges());
assertEquals(expectedLength, sent.getLength());