org.cogroo.tools.featurizer
Class DefaultFeaturizerFactory

java.lang.Object
  extended by opennlp.tools.util.BaseToolFactory
      extended by org.cogroo.tools.featurizer.FeaturizerFactory
          extended by org.cogroo.tools.featurizer.DefaultFeaturizerFactory

public class DefaultFeaturizerFactory
extends FeaturizerFactory


Constructor Summary
DefaultFeaturizerFactory()
          Creates a DefaultFeaturizerFactory that provides the default implementation of the resources.
DefaultFeaturizerFactory(FeatureDictionary featureDictionary, String cgFlags)
          Creates a DefaultFeaturizerFactory.
 
Method Summary
 Map<String,Object> createArtifactMap()
           
 Map<String,opennlp.tools.util.model.ArtifactSerializer> createArtifactSerializersMap()
           
 void validateArtifactMap()
           
 
Methods inherited from class org.cogroo.tools.featurizer.FeaturizerFactory
create, createManifestEntries, getCGFlags, getDictionaryPoisonedTags, getFeatureDictionary, getFeaturizerContextGenerator, getSequenceValidator
 
Methods inherited from class opennlp.tools.util.BaseToolFactory
create, create
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFeaturizerFactory

public DefaultFeaturizerFactory()
Creates a DefaultFeaturizerFactory that provides the default implementation of the resources.


DefaultFeaturizerFactory

public DefaultFeaturizerFactory(FeatureDictionary featureDictionary,
                                String cgFlags)
Creates a DefaultFeaturizerFactory. Use this constructor to programmatically create a factory.

Method Detail

createArtifactSerializersMap

public Map<String,opennlp.tools.util.model.ArtifactSerializer> createArtifactSerializersMap()
Overrides:
createArtifactSerializersMap in class FeaturizerFactory

createArtifactMap

public Map<String,Object> createArtifactMap()
Overrides:
createArtifactMap in class FeaturizerFactory

validateArtifactMap

public void validateArtifactMap()
                         throws opennlp.tools.util.InvalidFormatException
Overrides:
validateArtifactMap in class FeaturizerFactory
Throws:
opennlp.tools.util.InvalidFormatException


Copyright © 2012-2013 CoGrOO. All Rights Reserved.