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