public static class CaseNormalizerDescriptor.AttributeBuilder extends Object
CaseNormalizer
component. You can use this
builder as a type-safe alternative to populating the attribute map using attribute keys.Modifier and Type | Field and Description |
---|---|
Map<String,Object> |
map
The attribute map populated by this builder.
|
Modifier | Constructor and Description |
---|---|
protected |
AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.
|
Modifier and Type | Method and Description |
---|---|
CaseNormalizerDescriptor.AttributeBuilder |
dfThreshold(int value)
Word Document Frequency threshold.
|
CaseNormalizerDescriptor.AttributeBuilder |
dfThreshold(org.carrot2.util.attribute.IObjectFactory<? extends Integer> value)
Word Document Frequency threshold.
|
public CaseNormalizerDescriptor.AttributeBuilder dfThreshold(int value)
dfThreshold
documents will be ignored.CaseNormalizer.dfThreshold
public CaseNormalizerDescriptor.AttributeBuilder dfThreshold(org.carrot2.util.attribute.IObjectFactory<? extends Integer> value)
dfThreshold
documents will be ignored.CaseNormalizer.dfThreshold