public class BaselineFactory
extends opennlp.tools.postag.POSTaggerFactory
| Constructor and Description |
|---|
BaselineFactory()
Creates a
BaselineFactory that provides the default implementation
of the resources. |
BaselineFactory(opennlp.tools.dictionary.Dictionary ngramDictionary,
opennlp.tools.postag.TagDictionary posDictionary)
Creates a
POSTaggerFactory. |
| Modifier and Type | Method and Description |
|---|---|
opennlp.tools.postag.POSContextGenerator |
getPOSContextGenerator() |
opennlp.tools.postag.POSContextGenerator |
getPOSContextGenerator(int cacheSize) |
create, createArtifactMap, createArtifactSerializersMap, createEmptyTagDictionary, createTagDictionary, createTagDictionary, getDictionary, getSequenceValidator, getTagDictionary, init, setDictionary, setTagDictionary, validateArtifactMap, validatePOSDictionarypublic BaselineFactory()
BaselineFactory that provides the default implementation
of the resources.public BaselineFactory(opennlp.tools.dictionary.Dictionary ngramDictionary,
opennlp.tools.postag.TagDictionary posDictionary)
POSTaggerFactory. Use this constructor to
programmatically create a factory.ngramDictionary - the ngrams dictionaryposDictionary - the postags dictionarypublic final opennlp.tools.postag.POSContextGenerator getPOSContextGenerator()
getPOSContextGenerator in class opennlp.tools.postag.POSTaggerFactorypublic final opennlp.tools.postag.POSContextGenerator getPOSContextGenerator(int cacheSize)
getPOSContextGenerator in class opennlp.tools.postag.POSTaggerFactoryCopyright © 2015 IXA pipes. All rights reserved.