Package | Description |
---|---|
opennlp.tools.formats.brat | |
opennlp.tools.tokenize |
Contains classes related to finding token or words in a string.
|
Constructor and Description |
---|
BratNameSampleStream(SentenceModel sentModel,
TokenizerModel tokenModel,
ObjectStream<BratDocument> samples) |
Modifier and Type | Method and Description |
---|---|
static TokenizerModel |
TokenizerME.train(ObjectStream<TokenSample> samples,
TokenizerFactory factory,
TrainingParameters mlParams)
Trains a model for the
TokenizerME . |
Constructor and Description |
---|
TokenizerME(TokenizerModel model) |
TokenizerME(TokenizerModel model,
Factory factory)
Deprecated.
use
TokenizerFactory to extend the Tokenizer
functionality |
Copyright © 2017 The Apache Software Foundation. All rights reserved.