edu.umd.cloud9.collection.medline
Class MedlineDocnoMappingBuilder
java.lang.Object
org.apache.hadoop.conf.Configured
edu.umd.cloud9.collection.medline.MedlineDocnoMappingBuilder
- All Implemented Interfaces:
- DocnoMapping.Builder, Configurable, Tool
public class MedlineDocnoMappingBuilder
- extends Configured
- implements Tool, DocnoMapping.Builder
Tool that builds the mapping from MEDLINE docids (PMIDs) to docnos (sequentially-numbered ints).
Run without any arguments for help. The guava jar must be included using -libjar.
- Author:
- Jimmy Lin
MedlineDocnoMappingBuilder
public MedlineDocnoMappingBuilder()
- Creates an instance of this tool.
build
public int build(Path src,
Path dest,
Configuration conf)
throws IOException
- Specified by:
build in interface DocnoMapping.Builder
- Throws:
IOException
run
public int run(String[] args)
throws IOException
- Runs this tool.
- Specified by:
run in interface Tool
- Throws:
IOException
main
public static void main(String[] args)
throws Exception
- Dispatches command-line arguments to the tool via the
ToolRunner.
- Throws:
Exception