org.unigram.likelike.feature
Class FeatureExtraction

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by 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


Constructor Summary
FeatureExtraction()
           
 
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
 

Constructor Detail

FeatureExtraction

public FeatureExtraction()
Method Detail

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 - arguments
conf - 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 - -