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 java.lang.Object
implements CmdLineTool


Constructor Summary
DictionaryDetokenizerTool()
           
 
Method Summary
static java.lang.String detokenize(java.lang.String[] tokens, Detokenizer.DetokenizationOperation[] operations)
           
 java.lang.String getHelp()
          Retrieves a description on how to use the tool.
 java.lang.String getName()
          Retrieves the name of the training data tool.
 java.lang.String getShortDescription()
          Retrieves a short description of what the tool does.
 void run(java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String detokenize(java.lang.String[] tokens,
                                          Detokenizer.DetokenizationOperation[] operations)

run

public void run(java.lang.String[] args)
Description copied from interface: CmdLineTool
Executes the tool with the given parameters.

Specified by:
run in interface CmdLineTool


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