org.unigram.likelike.feature
Class FeatureExtraction
java.lang.Object
org.apache.hadoop.conf.Configured
org.unigram.likelike.feature.FeatureExtraction
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool
public class FeatureExtraction
- extends org.apache.hadoop.conf.Configured
- implements org.apache.hadoop.util.Tool
Method Summary |
static void |
main(java.lang.String[] args)
Main method. |
int |
run(java.lang.String[] args)
run. |
int |
run(java.lang.String[] args,
org.apache.hadoop.conf.Configuration conf)
run. |
Methods inherited from class org.apache.hadoop.conf.Configured |
getConf, setConf |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hadoop.conf.Configurable |
getConf, setConf |
FeatureExtraction
public FeatureExtraction()
run
public int run(java.lang.String[] args)
throws java.lang.Exception
- run.
- Specified by:
run
in interface org.apache.hadoop.util.Tool
- Parameters:
args
- arguments
- Returns:
- 0 when succeeded
- Throws:
java.lang.Exception
- -
run
public int run(java.lang.String[] args,
org.apache.hadoop.conf.Configuration conf)
throws java.io.IOException,
java.lang.InterruptedException,
java.lang.ClassNotFoundException
- run.
- Parameters:
args
- argumentsconf
- configuration
- Returns:
- 0 when succeeded
- Throws:
java.io.IOException
- -
java.lang.InterruptedException
- -
java.lang.ClassNotFoundException
- -
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Main method.
- Parameters:
args
- argument strings which contain input and output files.
- Throws:
java.lang.Exception
- -