Package opennlp.morfologik.tagdict
Class MorfologikPOSTaggerFactory
- java.lang.Object
-
- opennlp.tools.util.BaseToolFactory
-
- opennlp.tools.postag.POSTaggerFactory
-
- opennlp.morfologik.tagdict.MorfologikPOSTaggerFactory
-
public class MorfologikPOSTaggerFactory extends opennlp.tools.postag.POSTaggerFactory
-
-
Constructor Summary
Constructors Constructor Description MorfologikPOSTaggerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
createArtifactMap()
Map<String,opennlp.tools.util.model.ArtifactSerializer>
createArtifactSerializersMap()
opennlp.tools.postag.TagDictionary
createEmptyTagDictionary()
opennlp.tools.postag.TagDictionary
createTagDictionary(File dictionary)
opennlp.tools.postag.TagDictionary
createTagDictionary(InputStream in)
opennlp.tools.postag.TagDictionary
getTagDictionary()
void
setTagDictionary(opennlp.tools.postag.TagDictionary dictionary)
-
Methods inherited from class opennlp.tools.postag.POSTaggerFactory
create, create, createFeatureGenerators, getDictionary, getPOSContextGenerator, getPOSContextGenerator, getSequenceValidator, setDictionary, validateArtifactMap
-
-
-
-
Method Detail
-
createTagDictionary
public opennlp.tools.postag.TagDictionary createTagDictionary(File dictionary) throws IOException
- Overrides:
createTagDictionary
in classopennlp.tools.postag.POSTaggerFactory
- Throws:
IOException
-
getTagDictionary
public opennlp.tools.postag.TagDictionary getTagDictionary()
- Overrides:
getTagDictionary
in classopennlp.tools.postag.POSTaggerFactory
-
setTagDictionary
public void setTagDictionary(opennlp.tools.postag.TagDictionary dictionary)
- Overrides:
setTagDictionary
in classopennlp.tools.postag.POSTaggerFactory
-
createEmptyTagDictionary
public opennlp.tools.postag.TagDictionary createEmptyTagDictionary()
- Overrides:
createEmptyTagDictionary
in classopennlp.tools.postag.POSTaggerFactory
-
createTagDictionary
public opennlp.tools.postag.TagDictionary createTagDictionary(InputStream in) throws IOException
- Overrides:
createTagDictionary
in classopennlp.tools.postag.POSTaggerFactory
- Throws:
IOException
-
createArtifactSerializersMap
public Map<String,opennlp.tools.util.model.ArtifactSerializer> createArtifactSerializersMap()
- Overrides:
createArtifactSerializersMap
in classopennlp.tools.postag.POSTaggerFactory
-
-