org.cogroo.tools.postag
Class PortugueseFactory
java.lang.Object
opennlp.tools.util.BaseToolFactory
opennlp.tools.postag.POSTaggerFactory
org.cogroo.tools.postag.PortugueseFactory
- Direct Known Subclasses:
- PortugueseExFactory
public class PortugueseFactory
- extends opennlp.tools.postag.POSTaggerFactory
Methods inherited from class opennlp.tools.postag.POSTaggerFactory |
create, createEmptyTagDictionary, createTagDictionary, getDictionary, setDictionary, setTagDictionary, validateArtifactMap |
Methods inherited from class opennlp.tools.util.BaseToolFactory |
create, create, createManifestEntries |
PortugueseFactory
public PortugueseFactory()
PortugueseFactory
public PortugueseFactory(opennlp.tools.dictionary.Dictionary ngramDictionary,
opennlp.tools.postag.TagDictionary posDictionary)
getSequenceValidator
public opennlp.tools.util.SequenceValidator<String> getSequenceValidator()
- Overrides:
getSequenceValidator
in class opennlp.tools.postag.POSTaggerFactory
getPOSContextGenerator
public opennlp.tools.postag.POSContextGenerator getPOSContextGenerator(int cacheSize)
- Overrides:
getPOSContextGenerator
in class opennlp.tools.postag.POSTaggerFactory
getPOSContextGenerator
public opennlp.tools.postag.POSContextGenerator getPOSContextGenerator()
- Overrides:
getPOSContextGenerator
in class opennlp.tools.postag.POSTaggerFactory
getTagDictionary
public opennlp.tools.postag.TagDictionary getTagDictionary()
- Overrides:
getTagDictionary
in class opennlp.tools.postag.POSTaggerFactory
createArtifactSerializersMap
public Map<String,opennlp.tools.util.model.ArtifactSerializer> createArtifactSerializersMap()
- Overrides:
createArtifactSerializersMap
in class opennlp.tools.postag.POSTaggerFactory
createArtifactMap
public Map<String,Object> createArtifactMap()
- Overrides:
createArtifactMap
in class opennlp.tools.postag.POSTaggerFactory
createTagDictionary
public opennlp.tools.postag.TagDictionary createTagDictionary(InputStream in)
throws opennlp.tools.util.InvalidFormatException,
IOException
- Overrides:
createTagDictionary
in class opennlp.tools.postag.POSTaggerFactory
- Throws:
opennlp.tools.util.InvalidFormatException
IOException
Copyright © 2012-2013 CoGrOO. All Rights Reserved.