|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcluster.PhraseFinder
public class PhraseFinder
Finds frequent phrases and is in charge of creating clusters for the categories.
| Constructor Summary | |
|---|---|
PhraseFinder()
|
|
| Method Summary | |
|---|---|
static void |
clearOutFolders(java.lang.String outFolder)
|
static void |
combineClusterResults()
Creates HTML files that show results for all categories |
static void |
copyOutput(java.lang.String tmpFolder,
java.lang.String finalDest)
|
static void |
createCluster(boolean verbose,
int cat)
Change back to private soon |
static void |
createClusters(boolean verbose)
|
static void |
findAndAddPhrases(boolean verbose,
java.util.List<? extends ClusterDoc> docs,
int vocabCutoff,
java.util.List<Phrase> set,
int phraseSize,
VectorManager vm)
Finds phrases and adds them to set |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PhraseFinder()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.io.IOException,
ClusteringException
args -
java.io.IOException
java.io.IOException
ClusteringException
public static void combineClusterResults()
throws java.io.IOException
java.io.IOException
public static void copyOutput(java.lang.String tmpFolder,
java.lang.String finalDest)
throws java.io.IOException
java.io.IOExceptionpublic static void clearOutFolders(java.lang.String outFolder)
public static void createClusters(boolean verbose)
throws ClusteringException
ClusteringException
public static void createCluster(boolean verbose,
int cat)
throws java.io.IOException
verbose - cat -
java.io.IOException
public static void findAndAddPhrases(boolean verbose,
java.util.List<? extends ClusterDoc> docs,
int vocabCutoff,
java.util.List<Phrase> set,
int phraseSize,
VectorManager vm)
throws java.io.IOException
verbose - docs - vocabCutoff - set - phraseSize - vm -
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||