public final class MultiCandidateGeneratorWrapper extends CandidateGenerator
| Constructor and Description |
|---|
MultiCandidateGeneratorWrapper(int numCandidates, CandidateGenerator
|
| Modifier and Type | Method and Description |
|---|---|
DirectCandidateGenerator |
createCandidate(org
|
DirectCandidateGenerator |
drawCandidates(DirectCandidateGenerator
|
long |
frequency(org
|
boolean |
isKnownWord(org
|
createCandidate, createCandidate, drawCandidatespublic MultiCandidateGeneratorWrapper(int numCandidates,
CandidateGenerator... candidateGenerators) public boolean isKnownWord(org.apache .lucene .util .BytesRef term) throws IOException
isKnownWord in class
CandidateGenerator
IOException
public long frequency(org.apache .lucene .util .BytesRef term) throws IOException
frequency in class
CandidateGenerator
IOException
public DirectCandidateGenerator.CandidateSet drawCandidates(DirectCandidateGenerator .CandidateSet set) throws IOException
drawCandidates in class
CandidateGenerator
IOException
public DirectCandidateGenerator.Candidate createCandidate(org .apache .lucene .util .BytesRef term, long frequency, double channelScore, boolean userInput) throws IOException
createCandidate in class
CandidateGenerator
IOException