opennlp.tools.cmdline.namefind
Class TokenNameFinderConverterTool

java.lang.Object
  extended by opennlp.tools.cmdline.AbstractConverterTool<NameSample>
      extended by opennlp.tools.cmdline.namefind.TokenNameFinderConverterTool
All Implemented Interfaces:
CmdLineTool

public class TokenNameFinderConverterTool
extends AbstractConverterTool<NameSample>

Tool to convert multiple data formats into native opennlp name finder training format.


Constructor Summary
TokenNameFinderConverterTool()
           
 
Method Summary
protected  ObjectStreamFactory<NameSample> createStreamFactory(String format)
           
 String getName()
          Retrieves the name of the training data tool.
 String getShortDescription()
          Retrieves a short description of what the tool does.
 
Methods inherited from class opennlp.tools.cmdline.AbstractConverterTool
getHelp, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenNameFinderConverterTool

public TokenNameFinderConverterTool()
Method Detail

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<NameSample> createStreamFactory(String format)
Specified by:
createStreamFactory in class AbstractConverterTool<NameSample>


Copyright © 2010. All Rights Reserved.