opennlp.tools.cmdline.chunker
Class ChunkerConverterTool
java.lang.Object
opennlp.tools.cmdline.AbstractConverterTool<ChunkSample>
opennlp.tools.cmdline.chunker.ChunkerConverterTool
- All Implemented Interfaces:
- CmdLineTool
public class ChunkerConverterTool
- extends AbstractConverterTool<ChunkSample>
Tool to convert multiple data formats into native opennlp chunler training
format.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChunkerConverterTool
public ChunkerConverterTool()
getName
public String getName()
- Description copied from interface:
CmdLineTool
- Retrieves the name of the training data tool. The name (used as command)
must not contain white spaces.
- Returns:
- the name of the command line tool
getShortDescription
public String getShortDescription()
- Description copied from interface:
CmdLineTool
- Retrieves a short description of what the tool does.
- Returns:
createStreamFactory
protected ObjectStreamFactory<ChunkSample> createStreamFactory(String format)
- Specified by:
createStreamFactory
in class AbstractConverterTool<ChunkSample>
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.