|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.text.preprocessing.filter.CompleteLabelFilterDescriptor.AttributeBuilder
public static class CompleteLabelFilterDescriptor.AttributeBuilder
Attribute map builder for the CompleteLabelFilter component. You can use this
builder as a type-safe alternative to populating the attribute map using attribute keys.
| Field Summary | |
|---|---|
Map<String,Object> |
map
The attribute map populated by this builder. |
| Constructor Summary | |
|---|---|
protected |
CompleteLabelFilterDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map. |
| Method Summary | |
|---|---|
CompleteLabelFilterDescriptor.AttributeBuilder |
enabled(boolean value)
Remove truncated phrases. |
CompleteLabelFilterDescriptor.AttributeBuilder |
labelOverrideThreshold(double value)
Truncated label threshold. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final Map<String,Object> map
| Constructor Detail |
|---|
protected CompleteLabelFilterDescriptor.AttributeBuilder(Map<String,Object> map)
| Method Detail |
|---|
public CompleteLabelFilterDescriptor.AttributeBuilder enabled(boolean value)
CompleteLabelFilter.enabledpublic CompleteLabelFilterDescriptor.AttributeBuilder labelOverrideThreshold(double value)
CompleteLabelFilter.labelOverrideThreshold
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||