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