public interface Sampler<T>
Sampleable
. For instance, a parser can
Sampleable
and then vends Sampler instances
based on specific inputs (words in the sentence).
The Sampler would then return parse trees (over
that particular sentence, not over all sentences)
drawn from
the underlying distribution.Modifier and Type | Method and Description |
---|---|
T |
drawSample() |
T drawSample()