infomat.mro
Class Clusterer
java.lang.Object
infomat.mro.Clusterer
- All Implemented Interfaces:
- HasProperties
public class Clusterer
- extends java.lang.Object
- implements HasProperties
NOT WORKING IN VERSION 080828
Class for running clustering tasks without the GUI.
java -cp .:classes/ -Xms3024m -Xmx3024m infomat.Clusterer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sweStoplistFileName
private static java.lang.String sweStoplistFileName
engStoplistFileName
private static java.lang.String engStoplistFileName
properties
private Properties properties
matrix
private IMatrix matrix
categorization
private IObjectGrouping categorization
Clusterer
public Clusterer()
getDefaultProperties
public Properties getDefaultProperties()
- Specified by:
getDefaultProperties
in interface HasProperties
getPropertyValue
public java.lang.Object getPropertyValue(java.lang.String name)
- Specified by:
getPropertyValue
in interface HasProperties
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
throws PropertyNotFoundException
- Specified by:
setProperty
in interface HasProperties
- Throws:
PropertyNotFoundException
getProperties
public Properties getProperties()
- Specified by:
getProperties
in interface HasProperties
setProperties
public void setProperties(Properties properties)
- Specified by:
setProperties
in interface HasProperties
main
public static void main(java.lang.String[] args)
throws java.io.IOException,
PropertyNotFoundException
- Throws:
java.io.IOException
PropertyNotFoundException
doIt
public void doIt(java.lang.String[] args)
throws java.io.IOException,
PropertyNotFoundException
- Throws:
java.io.IOException
PropertyNotFoundException
cluster
private void cluster(java.lang.String resultPath)
calculateAndSaveEvaluation
private void calculateAndSaveEvaluation(Evaluation eval,
java.lang.String resFileName)
badInput
private void badInput(java.lang.String comment)
checkInput
private void checkInput(java.lang.String[] args)
throws java.io.IOException,
PropertyNotFoundException
- Throws:
java.io.IOException
PropertyNotFoundException
readFiles
private void readFiles()
stoplist
private void stoplist()
filter
private void filter()
weight
private void weight()