edu.umd.cloud9.collection.medline
Class CountMedlineCitations
java.lang.Object
org.apache.hadoop.conf.Configured
edu.umd.cloud9.collection.medline.CountMedlineCitations
- All Implemented Interfaces:
- Configurable, Tool
public class CountMedlineCitations
- extends Configured
- implements Tool
Simple demo program that counts all the documents in the TREC collection. Run without any
arguments for help. The guava jar must be included using -libjar.
- Author:
- Jimmy Lin
|
Method Summary |
static void |
main(String[] args)
Dispatches command-line arguments to the tool via the ToolRunner. |
int |
run(String[] args)
|
COLLECTION_OPTION
public static final String COLLECTION_OPTION
- See Also:
- Constant Field Values
OUTPUT_OPTION
public static final String OUTPUT_OPTION
- See Also:
- Constant Field Values
MAPPING_OPTION
public static final String MAPPING_OPTION
- See Also:
- Constant Field Values
CountMedlineCitations
public CountMedlineCitations()
- Creates an instance of this tool.
run
public int run(String[] args)
throws Exception
- 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