public class WikipediaDocnoMappingBuilder extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool, DocnoMapping.Builder
| Modifier and Type | Field and Description |
|---|---|
static String |
INPUT_OPTION |
static String |
KEEP_ALL_OPTION |
static String |
LANGUAGE_OPTION |
static String |
OUTPUT_FILE_OPTION |
| Constructor and Description |
|---|
WikipediaDocnoMappingBuilder() |
| Modifier and Type | Method and Description |
|---|---|
int |
build(org.apache.hadoop.fs.Path src,
org.apache.hadoop.fs.Path dest,
org.apache.hadoop.conf.Configuration conf) |
static void |
main(String[] args) |
int |
run(String[] args) |
public static final String INPUT_OPTION
public static final String OUTPUT_FILE_OPTION
public static final String KEEP_ALL_OPTION
public static final String LANGUAGE_OPTION
public int build(org.apache.hadoop.fs.Path src,
org.apache.hadoop.fs.Path dest,
org.apache.hadoop.conf.Configuration conf)
throws IOException
build in interface DocnoMapping.BuilderIOExceptionpublic int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionCopyright © 2015. All rights reserved.