public class SenseInstance extends Object implements edu.illinois.cs.cogcomp.sl.core.IInstance
Constructor and Description |
---|
SenseInstance(Constituent predicate,
SenseManager manager) |
SenseInstance(String lemma,
String features) |
Modifier and Type | Method and Description |
---|---|
void |
cacheAllFeatureVectors() |
void |
cacheFeatureVector(edu.illinois.cs.cogcomp.sl.util.FeatureVector f) |
void |
cacheFeatureVector(Set<Feature> features) |
edu.illinois.cs.cogcomp.sl.util.FeatureVector |
getCachedFeatureVector() |
Constituent |
getConstituent() |
String |
getPredicateLemma() |
double |
size() |
String |
toString() |
public SenseInstance(Constituent predicate, SenseManager manager)
public double size()
size
in interface edu.illinois.cs.cogcomp.sl.core.IInstance
public String getPredicateLemma()
public void cacheFeatureVector(edu.illinois.cs.cogcomp.sl.util.FeatureVector f)
public edu.illinois.cs.cogcomp.sl.util.FeatureVector getCachedFeatureVector()
public Constituent getConstituent()
public void cacheAllFeatureVectors()
Copyright © 2017. All rights reserved.