assertEquals(new Span(5, 6, "person"), samples.get(7).getNames()[2]);
}
@Before
public void setup() throws IOException {
InputStreamFactory in = new ResourceAsStreamFactory(ADParagraphStreamTest.class,
"/opennlp/tools/formats/ad.sample");
ADNameSampleStream stream = new ADNameSampleStream(
new PlainTextByLineStream(in, "UTF-8"), true);