opennlp.tools.cmdline.tokenizer
Class DictionaryDetokenizerTool

java.lang.Object
  extended by opennlp.tools.cmdline.tokenizer.DictionaryDetokenizerTool
All Implemented Interfaces:
CmdLineTool

public final class DictionaryDetokenizerTool
extends Object
implements CmdLineTool


Constructor Summary
DictionaryDetokenizerTool()
           
 
Method Summary
static String detokenize(String[] tokens, Detokenizer.DetokenizationOperation[] operations)
           
 String getHelp()
          Retrieves a description on how to use the tool.
 String getName()
          Retrieves the name of the training data tool.
 String getShortDescription()
          Retrieves a short description of what the tool does.
 void run(String[] args)
          Executes the tool with the given parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DictionaryDetokenizerTool

public DictionaryDetokenizerTool()
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.

Specified by:
getName in interface CmdLineTool
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.

Specified by:
getShortDescription in interface CmdLineTool
Returns:

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:

detokenize

public static String detokenize(String[] tokens,
                                Detokenizer.DetokenizationOperation[] operations)

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.