use of opennlp.tools.chunker.Chunker in project stanbol by apache.
the class OpenNLPTest method testLoadMissingChunker.
@Test
public void testLoadMissingChunker() throws IOException {
ChunkerModel model = openNLP.getChunkerModel("ru");
Assert.assertNull(model);
Chunker chunker = openNLP.getChunker("ru");
Assert.assertNull(chunker);
}
use of opennlp.tools.chunker.Chunker in project stanbol by apache.
the class OpenNLPTest method testLoadEnChunker.
@Test
public void testLoadEnChunker() throws IOException {
ChunkerModel model = openNLP.getChunkerModel("en");
Assert.assertNotNull(model);
Chunker chunker = openNLP.getChunker("en");
Assert.assertNotNull(chunker);
}
Aggregations