@Bindable(prefix="LingoClusteringAlgorithm") public class ClusterBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
double |
clusterMergingThreshold
Cluster merging threshold.
|
IFeatureScorer |
featureScorer
Optional feature scorer.
|
ILabelAssigner |
labelAssigner
Cluster label assignment method.
|
double |
phraseLabelBoost
Phrase label boost.
|
int |
phraseLengthPenaltyStart
Phrase length penalty start.
|
int |
phraseLengthPenaltyStop
Phrase length penalty stop.
|
| Constructor and Description |
|---|
ClusterBuilder() |
@Input @Processing @Attribute @Group(value="Labels") @Level(value=MEDIUM) @Label(value="Phrase label boost") public double phraseLabelBoost
@Input @Processing @Attribute @IntRange(min=2, max=8) @Group(value="Labels") @Level(value=ADVANCED) @Label(value="Phrase length penalty start") public int phraseLengthPenaltyStart
phraseLengthPenaltyStart will not be penalized.@Input @Processing @Attribute @IntRange(min=2, max=8) @Group(value="Labels") @Level(value=ADVANCED) @Label(value="Phrase length penalty stop") public int phraseLengthPenaltyStop
phraseLengthPenaltyStop will be removed.@Input @Processing @Attribute @Group(value="Clusters") @Level(value=MEDIUM) @Label(value="Cluster merging threshold") public double clusterMergingThreshold
public IFeatureScorer featureScorer
@Input @Processing @Attribute @Required @Group(value="Labels") @Level(value=ADVANCED) @Label(value="Cluster label assignment method") public ILabelAssigner labelAssigner