morfologik.tools
Class FSADumpTool

java.lang.Object
  extended by morfologik.tools.FSADumpTool

public final class FSADumpTool
extends java.lang.Object

This utility will dump the information and contents of a given FSA dictionary. It can dump dictionaries in the raw form (as fed to the fsa_build program) or decoding compressed stem forms.


Field Summary
protected  org.apache.commons.cli.Options options
          Command line options.
 
Constructor Summary
FSADumpTool()
           
 
Method Summary
protected  void go(org.apache.commons.cli.CommandLine line)
          Command line entry point after parsing arguments.
protected  void go(java.lang.String[] args)
          Initializes application context.
protected  void initializeOptions(org.apache.commons.cli.Options options)
          Command line options for the tool.
protected  boolean isAvailable()
          Is the tool available?
static void main(java.lang.String[] args)
          Command line entry point.
protected  void printError(java.lang.String msg)
          Print an error without an exception.
protected  void printError(java.lang.String msg, java.lang.Throwable t)
          Print an error and an associated exception.
protected  void printUsage()
          Prints usage (options).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

options

protected final org.apache.commons.cli.Options options
Command line options.

Constructor Detail

FSADumpTool

public FSADumpTool()
Method Detail

go

protected void go(org.apache.commons.cli.CommandLine line)
           throws java.lang.Exception
Command line entry point after parsing arguments.

Throws:
java.lang.Exception

initializeOptions

protected void initializeOptions(org.apache.commons.cli.Options options)
Command line options for the tool.


main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Command line entry point.

Throws:
java.lang.Exception

go

protected final void go(java.lang.String[] args)
Initializes application context.


printError

protected void printError(java.lang.String msg,
                          java.lang.Throwable t)
Print an error and an associated exception.


printError

protected void printError(java.lang.String msg)
Print an error without an exception.


printUsage

protected void printUsage()
Prints usage (options).


isAvailable

protected boolean isAvailable()
Is the tool available? true by default.