opennlp.tools.cmdline
Class AbstractConverterTool<T>
java.lang.Object
opennlp.tools.cmdline.AbstractConverterTool<T>
- All Implemented Interfaces:
- CmdLineTool
- Direct Known Subclasses:
- POSTaggerConverter, SentenceDetectorConverterTool, TokenizerConverterTool, TokenNameFinderConverterTool
public abstract class AbstractConverterTool<T>
- extends Object
- implements CmdLineTool
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractConverterTool
public AbstractConverterTool()
getHelp
public String getHelp()
- Description copied from interface:
CmdLineTool
- Retrieves a description on how to use the tool.
- Specified by:
getHelp
in interface CmdLineTool
- Returns:
createStreamFactory
protected abstract ObjectStreamFactory<T> createStreamFactory(String format)
run
public void run(String[] args)
- Description copied from interface:
CmdLineTool
- Executes the tool with the given parameters.
- Specified by:
run
in interface CmdLineTool
Copyright © 2010. All Rights Reserved.