public interface ConfidenceChunker
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.
| Modifier and Type | Method and Description |
|---|---|
Iterator<Chunk> |
nBestChunks(char[] cs,
int start,
int end,
int maxNBest)
Returns the n-best chunks in decreasing order of probability
estimates.
|
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.Copyright © 2016 Alias-i, Inc.. All rights reserved.