|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConfidenceChunker
The ConfidenceChunker interface specifies a method
for returning an iterator over chunks in order of confidence.
Each chunk will be returned at most once, and
scores are assumed to be conditional probabilities of the chunk
given the input character slice.
This interface does not extend Chunker because
there are many ways a system might return confidence over
chunks without being able to return a proper Chunking,
which requires a single analysis for an input.
| Method Summary | |
|---|---|
Iterator<Chunk> |
nBestChunks(char[] cs,
int start,
int end,
int maxNBest)
Returns the n-best chunks in decreasing order of probability estimates. |
| Method Detail |
|---|
Iterator<Chunk> nBestChunks(char[] cs,
int start,
int end,
int maxNBest)
Chunk
interface, and their scores are conditional probability
estimates of the chunk given the input character slice.
cs - Underlying character array.start - Index of first character to analyze.end - Index of one past the last character to analyze.maxNBest - The maximum number of chunks to return.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||