Class BasicCmdLineTool

Namespace
NOpenNLP.Tools.Cmdline
Assembly
nopennlp.dll

Base class for tools which take positional arguments rather than named options.

public abstract class BasicCmdLineTool : CmdLineTool
Inheritance
BasicCmdLineTool
Derived
Inherited Members

Methods

CreateCommand(string)

Builds the command that parses this tool's arguments and runs it.

public override Command CreateCommand(string commandName)

Parameters

commandName string

the name the user typed, which for a typed tool includes the .format suffix and so is not always Name

Returns

Command

Run(string[])

Executes the tool with the given positional arguments.

public abstract void Run(string[] args)

Parameters

args string[]