public abstract class CandidateGenerator extends Object
| Constructor and Description |
|---|
CandidateGenerator() |
| Modifier and Type | Method and Description |
|---|---|
DirectCandidateGenerator.Candidate |
createCandidate(org.apache.lucene.util.BytesRef term,
boolean userInput) |
DirectCandidateGenerator.Candidate |
createCandidate(org.apache.lucene.util.BytesRef term,
long frequency,
double channelScore) |
abstract DirectCandidateGenerator.Candidate |
createCandidate(org.apache.lucene.util.BytesRef term,
long frequency,
double channelScore,
boolean userInput) |
DirectCandidateGenerator.CandidateSet |
drawCandidates(org.apache.lucene.util.BytesRef term) |
abstract DirectCandidateGenerator.CandidateSet |
drawCandidates(DirectCandidateGenerator.CandidateSet set) |
abstract long |
frequency(org.apache.lucene.util.BytesRef term) |
abstract boolean |
isKnownWord(org.apache.lucene.util.BytesRef term) |
public abstract boolean isKnownWord(org.apache.lucene.util.BytesRef term)
throws IOException
IOExceptionpublic abstract long frequency(org.apache.lucene.util.BytesRef term)
throws IOException
IOExceptionpublic DirectCandidateGenerator.CandidateSet drawCandidates(org.apache.lucene.util.BytesRef term) throws IOException
IOExceptionpublic DirectCandidateGenerator.Candidate createCandidate(org.apache.lucene.util.BytesRef term, boolean userInput) throws IOException
IOExceptionpublic DirectCandidateGenerator.Candidate createCandidate(org.apache.lucene.util.BytesRef term, long frequency, double channelScore) throws IOException
IOExceptionpublic abstract DirectCandidateGenerator.Candidate createCandidate(org.apache.lucene.util.BytesRef term, long frequency, double channelScore, boolean userInput) throws IOException
IOExceptionpublic abstract DirectCandidateGenerator.CandidateSet drawCandidates(DirectCandidateGenerator.CandidateSet set) throws IOException
IOExceptionCopyright © 2009–2017. All rights reserved.