org.cogroo.tools.postag
Class ExtDictFSAPortugueseFactory

java.lang.Object
  extended by opennlp.tools.util.BaseToolFactory
      extended by opennlp.tools.postag.POSTaggerFactory
          extended by org.cogroo.tools.postag.PortugueseFactory
              extended by org.cogroo.tools.postag.PortugueseExFactory
                  extended by org.cogroo.tools.postag.ExtDictFSAPortugueseFactory

public class ExtDictFSAPortugueseFactory
extends PortugueseExFactory


Constructor Summary
ExtDictFSAPortugueseFactory()
           
ExtDictFSAPortugueseFactory(opennlp.tools.dictionary.Dictionary ngramDictionary, opennlp.tools.postag.TagDictionary posDictionary)
           
 
Method Summary
 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 org.cogroo.tools.postag.PortugueseExFactory
getPOSContextGenerator, getPOSContextGenerator
 
Methods inherited from class org.cogroo.tools.postag.PortugueseFactory
createArtifactMap, createArtifactSerializersMap, getSequenceValidator
 
Methods inherited from class opennlp.tools.postag.POSTaggerFactory
create, getDictionary, setDictionary, validateArtifactMap
 
Methods inherited from class opennlp.tools.util.BaseToolFactory
create, create, createManifestEntries
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtDictFSAPortugueseFactory

public ExtDictFSAPortugueseFactory()

ExtDictFSAPortugueseFactory

public ExtDictFSAPortugueseFactory(opennlp.tools.dictionary.Dictionary ngramDictionary,
                                   opennlp.tools.postag.TagDictionary posDictionary)
Method Detail

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


Copyright © 2012-2013 CoGrOO. All Rights Reserved.