public class MostProbableTopology
extends java.lang.Object
Constructor | Description |
---|---|
MostProbableTopology(java.util.Collection<? extends Tree> trees) |
Modifier and Type | Method | Description |
---|---|---|
java.util.List<Tree> |
get(int max,
double threshold) |
Get the most probable tree(s)
|
public MostProbableTopology(java.util.Collection<? extends Tree> trees)
trees
- public java.util.List<Tree> get(int max, double threshold)
max
- At most this number of trees (max <= 0 is ignored)threshold
- (in [01]) return first K topologies whose total frequencey is greater that threshold.http://code.google.com/p/jebl2/