modnlp.tc.tsr
public abstract class TermFilter extends java.lang.Object
MakeReducedTermSet
,
MakeProbabilityModel
Constructor and Description |
---|
TermFilter() |
Modifier and Type | Method and Description |
---|---|
void |
computeGlobalScoresMAX() |
void |
computeGlobalScoresSUM() |
void |
computeGlobalScoresWAVG() |
void |
computeLocalScores(java.lang.String cat) |
WordFrequencyPair[] |
getReducedFreqList(int aggr)
Sort score table, pick the first rsize terms and return their
frequency list (i.e.
|
java.util.Set |
getReducedTermSet(int aggr)
Return a term set reduced by a afctor of aggr
|
WordScorePair[] |
getSortedScores() |
WordScorePair[] |
getWsp()
Get the value of wsp.
|
void |
initialise(TCProbabilityModel pm) |
void |
setWsp(WordScorePair[] v)
Set the value of wsp.
|
public void initialise(TCProbabilityModel pm)
public java.util.Set getReducedTermSet(int aggr)
public WordFrequencyPair[] getReducedFreqList(int aggr)
public WordScorePair[] getSortedScores()
public WordScorePair[] getWsp()
public void setWsp(WordScorePair[] v)
v
- Value to assign to wsp.public void computeLocalScores(java.lang.String cat)
public void computeGlobalScoresSUM()
public void computeGlobalScoresMAX()
public void computeGlobalScoresWAVG()