net.sf.eos.hadoop.mapred.cooccurrence
Class DictionaryBasedEntityRecognizerReducer
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
net.sf.eos.hadoop.mapred.EosDocumentSupportMapReduceBase
net.sf.eos.hadoop.mapred.cooccurrence.DictionaryBasedEntityRecognizerReducer
- All Implemented Interfaces:
- Closeable, JobConfigurable, Reducer<Text,Text,Text,Text>
public class DictionaryBasedEntityRecognizerReducer
- extends EosDocumentSupportMapReduceBase
- implements Reducer<Text,Text,Text,Text>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
META_FIELD_FOR_SEPARATION_CONFIG_NAME
@ConfigurationKey(description="Metakeys, comma delimited, for separation.")
public static final String META_FIELD_FOR_SEPARATION_CONFIG_NAME
- The meta field for separation.
Default value is
EosDocument.ID_META_KEY
.
- See Also:
- Constant Field Values
DictionaryBasedEntityRecognizerReducer
public DictionaryBasedEntityRecognizerReducer()
reduce
public void reduce(Text key,
Iterator<Text> valuesIterator,
OutputCollector<Text,Text> outputCollector,
Reporter reporter)
throws IOException
- Specified by:
reduce
in interface Reducer<Text,Text,Text,Text>
- Throws:
IOException
configure
public void configure(JobConf conf)
- Specified by:
configure
in interface JobConfigurable
- Overrides:
configure
in class EosDocumentSupportMapReduceBase
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class EosDocumentSupportMapReduceBase
- Throws:
IOException
Copyright © 2008. All Rights Reserved.