public static class StopWordLabelFilterDescriptor.AttributeBuilder extends Object
StopWordLabelFilter 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 |
StopWordLabelFilterDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.
|
| Modifier and Type | Method and Description |
|---|---|
StopWordLabelFilterDescriptor.AttributeBuilder |
enabled(boolean value)
Remove leading and trailing stop words.
|
StopWordLabelFilterDescriptor.AttributeBuilder |
enabled(org.carrot2.util.attribute.IObjectFactory<? extends Boolean> value)
Remove leading and trailing stop words.
|
public StopWordLabelFilterDescriptor.AttributeBuilder enabled(boolean value)
StopWordLabelFilter.enabledpublic StopWordLabelFilterDescriptor.AttributeBuilder enabled(org.carrot2.util.attribute.IObjectFactory<? extends Boolean> value)
StopWordLabelFilter.enabled