public interface ProbabilityEstimator
| Modifier and Type | Method and Description |
|---|---|
FrequencyDeterminer |
getFrequencyDeterminer()
Returns the frequency determiner used by this estimator.
|
String |
getName()
Returns the name of this probability estimator.
|
SubsetProbabilities[] |
getProbabilities(String[][] wordsets,
SegmentationDefinition[] definitions)
Estimates the probabilities for the given word sets and the given
segmentations.
|
void |
setFrequencyDeterminer(FrequencyDeterminer determiner)
Sets the frequency determiner that should be used by this estimator.
|
void |
setMinFrequency(int minFrequency)
Sets the minimum frequency a word (or word set) must have to get a
probability > 0.
|
SubsetProbabilities[] getProbabilities(String[][] wordsets, SegmentationDefinition[] definitions)
wordsets - word sets for which the probabilities should be estimateddefinitions - definitions how the word sets should be separatedFrequencyDeterminer getFrequencyDeterminer()
void setFrequencyDeterminer(FrequencyDeterminer determiner)
determiner - the frequency determiner used by this estimatorString getName()
void setMinFrequency(int minFrequency)
minFrequency - the minimum frequency of a wordCopyright © 2014–2016. All rights reserved.