|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.labs.minion.classification.ContingencyFeatureClusterer com.sun.labs.minion.classification.LiteMorphClusterer
public class LiteMorphClusterer
Provides an implementation of a feature clusterer built around the light morphology engine. Morphs of the same word will be grouped together into clusters.
Field Summary | |
---|---|
protected java.util.HashMap<java.lang.String,FeatureCluster> |
clusterMap
|
protected static java.lang.String |
logTag
The log tag |
LiteMorph |
morpher
The morphological analyzer to use. |
Fields inherited from class com.sun.labs.minion.classification.ContingencyFeatureClusterer |
---|
clusters, field, type |
Constructor Summary | |
---|---|
LiteMorphClusterer()
|
|
LiteMorphClusterer(int type)
|
Method Summary | |
---|---|
protected void |
addFeature(ContingencyFeature feat)
Adds a feature to this feature clusterer. |
protected FeatureClusterSet |
getClusters()
Returns a set of feature clusters. |
FeatureClusterer |
newInstance()
A non-static factory method to create a feature clusterer |
Methods inherited from class com.sun.labs.minion.classification.ContingencyFeatureClusterer |
---|
cluster, collectFeatures, newCluster, newFeature, setDocCache, setField |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static java.lang.String logTag
public LiteMorph morpher
protected java.util.HashMap<java.lang.String,FeatureCluster> clusterMap
Constructor Detail |
---|
public LiteMorphClusterer()
public LiteMorphClusterer(int type)
Method Detail |
---|
public FeatureClusterer newInstance()
FeatureClusterer
newInstance
in interface FeatureClusterer
newInstance
in class ContingencyFeatureClusterer
protected void addFeature(ContingencyFeature feat)
ContingencyFeatureClusterer
addFeature
in class ContingencyFeatureClusterer
feat
- the feature to addprotected FeatureClusterSet getClusters()
ContingencyFeatureClusterer
getClusters
in class ContingencyFeatureClusterer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |