public class CountTrecDocuments
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
hadoop jar dist/cloud9-X.X.X.jar edu.umd.cloud9.collection.trec.CountTrecDocuments \ -libjars lib/guava-X.X.X.jar \ -collection /shared/collections/trec/trec4-5_noCRFR.xml -output tmp \ -docnoMapping trec-docno-mapping.dat -countOutput records.txt
| Modifier and Type | Field and Description |
|---|---|
static String |
COLLECTION_OPTION |
static String |
COUNT_OPTION |
static String |
MAPPING_OPTION |
static String |
OUTPUT_OPTION |
| Constructor and Description |
|---|
CountTrecDocuments()
Creates an instance of this tool.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Dispatches command-line arguments to the tool via the
ToolRunner. |
int |
run(String[] args)
Runs this tool.
|
public static final String COLLECTION_OPTION
public static final String OUTPUT_OPTION
public static final String MAPPING_OPTION
public static final String COUNT_OPTION
Copyright © 2015. All rights reserved.