public class MRFDocumentRanker extends Object
Constructor and Description |
---|
MRFDocumentRanker(MarkovRandomField mrf,
int numResults) |
MRFDocumentRanker(MarkovRandomField mrf,
int[] docSet,
int numResults) |
Modifier and Type | Method and Description |
---|---|
MarkovRandomField |
getMRF()
Returns the Markov Random Field associated with this ranker.
|
Accumulator[] |
rank() |
void |
setNumResults(int numResults)
Sets the number of results to return.
|
public MRFDocumentRanker(MarkovRandomField mrf, int numResults)
public MRFDocumentRanker(MarkovRandomField mrf, int[] docSet, int numResults)
public MarkovRandomField getMRF()
public Accumulator[] rank()
public void setNumResults(int numResults)