public class RescoringSoftTFIDFDictionary extends Object implements FastLookup
| Constructor and Description |
|---|
RescoringSoftTFIDFDictionary(FastLookup inner,
double innerMinScore,
StringDistance rescorer) |
| Modifier and Type | Method and Description |
|---|---|
String |
getResult(int i)
Get the i'th string found by the last lookup
|
double |
getScore(int i)
Get the score of the i'th string found by the last lookup
|
Object |
getValue(int i)
Get the value of the i'th string found by the last lookup
|
int |
lookup(double minScore,
String toFind)
Lookup items similar to 'toFind', and return the number of
items found.
|
public RescoringSoftTFIDFDictionary(FastLookup inner, double innerMinScore, StringDistance rescorer)
public int lookup(double minScore,
String toFind)
FastLookuplookup in interface FastLookuppublic String getResult(int i)
FastLookupgetResult in interface FastLookuppublic Object getValue(int i)
FastLookupgetValue in interface FastLookuppublic double getScore(int i)
FastLookupgetScore in interface FastLookupCopyright © 2016. All rights reserved.