com.sun.labs.minion.test
Class HighFreq
java.lang.Object
com.sun.labs.minion.test.HighFreq
public class HighFreq
- extends java.lang.Object
A main program that selects high frequency terms from an index.
Method Summary |
static void |
loadConfig(java.lang.String cmFile)
Load the configuration from the file. |
static void |
main(java.lang.String[] args)
|
java.util.List |
select(int n)
|
static void |
usage()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HighFreq
public HighFreq(SearchEngine engine,
boolean total)
select
public java.util.List select(int n)
loadConfig
public static void loadConfig(java.lang.String cmFile)
- Load the configuration from the file.
- Parameters:
cmFile
- the filename of the XML file containing my configuration
usage
public static void usage()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception