opennlp.tools.chunker
Class ChunkerFactory

java.lang.Object
  extended by opennlp.tools.util.BaseToolFactory
      extended by opennlp.tools.chunker.ChunkerFactory

public class ChunkerFactory
extends BaseToolFactory


Constructor Summary
ChunkerFactory()
          Creates a ChunkerFactory that provides the default implementation of the resources.
 
Method Summary
static ChunkerFactory create(String subclassName)
           
 ChunkerContextGenerator getContextGenerator()
           
 SequenceValidator<String> getSequenceValidator()
           
 void validateArtifactMap()
          Validates the parsed artifacts.
 
Methods inherited from class opennlp.tools.util.BaseToolFactory
create, create, createArtifactMap, createArtifactSerializersMap, createManifestEntries
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChunkerFactory

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

Method Detail

create

public static ChunkerFactory create(String subclassName)
                             throws InvalidFormatException
Throws:
InvalidFormatException

validateArtifactMap

public void validateArtifactMap()
                         throws InvalidFormatException
Description copied from class: BaseToolFactory
Validates the parsed artifacts. If something is not valid subclasses should throw an InvalidFormatException. Note: Subclasses should generally invoke super.validateArtifactMap at the beginning of this method.

Specified by:
validateArtifactMap in class BaseToolFactory
Throws:
InvalidFormatException

getSequenceValidator

public SequenceValidator<String> getSequenceValidator()

getContextGenerator

public ChunkerContextGenerator getContextGenerator()


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.