morfologik.tools
Class LametyzatorTool
java.lang.Object
morfologik.tools.BaseCommandLineTool
morfologik.tools.LametyzatorTool
public final class LametyzatorTool
- extends BaseCommandLineTool
Command-line utility for stemming text using Lametyzator
.
- See Also:
TextStemmingTool
Method Summary |
protected void |
go(org.apache.commons.cli.CommandLine line)
Override and write your stuff using command line options. |
protected void |
initializeOptions(org.apache.commons.cli.Options options)
Command line options for the tool. |
static void |
main(java.lang.String[] args)
Program's entry point. |
protected long |
process(java.io.Reader input,
java.io.Writer output)
Process input stream, writing to output stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LametyzatorTool
public LametyzatorTool()
throws java.io.IOException
- Throws:
java.io.IOException
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Program's entry point.
- Throws:
java.lang.Exception
go
protected void go(org.apache.commons.cli.CommandLine line)
throws java.lang.Exception
- Description copied from class:
BaseCommandLineTool
- Override and write your stuff using command line options.
- Specified by:
go
in class BaseCommandLineTool
- Throws:
java.lang.Exception
process
protected long process(java.io.Reader input,
java.io.Writer output)
throws java.io.IOException
- Process input stream, writing to output stream.
- Returns:
- Returns the number of processed words.
- Throws:
java.io.IOException
initializeOptions
protected void initializeOptions(org.apache.commons.cli.Options options)
- Command line options for the tool.
- Specified by:
initializeOptions
in class BaseCommandLineTool