public class Distsim
extends java.lang.Object
implements java.io.Serializable
Implementation note: This class largely overlaps DistSimClassifier. Unify?
Constructor and Description |
---|
Distsim(java.lang.String path)
The Extractor argument extraction keeps ; together, so we use
that to delimit options.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMapping(java.lang.String word)
Returns the cluster for the given word as a string.
|
static Distsim |
initLexicon(java.lang.String path) |
public Distsim(java.lang.String path)
public static Distsim initLexicon(java.lang.String path)
public java.lang.String getMapping(java.lang.String word)