edu.umd.cloud9.webgraph.driver
Class BuildAnchorTextForwardIndex
java.lang.Object
org.apache.hadoop.conf.Configured
edu.umd.cloud9.webgraph.driver.BuildAnchorTextForwardIndex
- All Implemented Interfaces:
- Configurable, Tool
public class BuildAnchorTextForwardIndex
- extends Configured
- implements Tool
Creates a forward index for a web graph. Command-line arguments are as follows:
- [collection-path]: the path to the anchor text collection (i.e., web graph)
- [output-path]: the output path
- [index-file]: the file to which the final index is stored
Please sort the anchor text/web graph before running this program.
- Author:
- Nima Asadi
- See Also:
|
Method Summary |
static void |
main(String[] args)
Dispatches command-line arguments to the tool via the
ToolRunner. |
int |
run(String[] args)
Runs this tool. |
BuildAnchorTextForwardIndex
public BuildAnchorTextForwardIndex()
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