edu.umd.cloud9.collection.line
Class NumberTextDocuments
java.lang.Object
org.apache.hadoop.conf.Configured
edu.umd.cloud9.collection.line.NumberTextDocuments
- All Implemented Interfaces:
- Configurable, Tool
public class NumberTextDocuments
- extends Configured
- implements Tool
Program that builds the mapping from docids (String identifiers) to
docnos (sequentially-numbered ints) for regular text documents. The program takes four command-line
arguments:
- Author:
- Ferhan Ture
|
Method Summary |
static void |
main(String[] args)
Dispatches command-line arguments to the tool via the
ToolRunner. |
int |
run(String[] args)
Runs this tool. |
NumberTextDocuments
public NumberTextDocuments()
- Creates an instance of this tool.
run
public int run(String[] args)
throws Exception
- Runs this tool.
- Specified by:
run in interface Tool
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Dispatches command-line arguments to the tool via the
ToolRunner.
- Throws:
Exception