|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.classifier.bayes.WikipediaDatasetCreatorDriver
public final class WikipediaDatasetCreatorDriver
Create and run the Wikipedia Dataset Creator.
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Takes in two arguments: The input Path where the input documents live
The output Path where to write the classifier as a
SequenceFile
|
static void |
runJob(java.lang.String input,
java.lang.String output,
java.lang.String catFile,
boolean exactMatchOnly,
java.lang.Class<? extends org.apache.lucene.analysis.Analyzer> analyzerClass)
Run the job |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.io.IOException
Path
where the input documents livePath
where to write the classifier as a
SequenceFile
args
- The args
java.io.IOException
public static void runJob(java.lang.String input, java.lang.String output, java.lang.String catFile, boolean exactMatchOnly, java.lang.Class<? extends org.apache.lucene.analysis.Analyzer> analyzerClass) throws java.io.IOException
input
- the input pathname Stringoutput
- the output pathname StringcatFile
- the file containing the Wikipedia categoriesexactMatchOnly
- if true, then the Wikipedia category must match exactly instead of simply containing the
category string
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |