public static class PhraseExtractorDescriptor.AttributeBuilder extends Object
PhraseExtractor 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 |
PhraseExtractorDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.
|
| Modifier and Type | Method and Description |
|---|---|
PhraseExtractorDescriptor.AttributeBuilder |
dfThreshold(int value)
Phrase Document Frequency threshold.
|
PhraseExtractorDescriptor.AttributeBuilder |
dfThreshold(org.carrot2.util.attribute.IObjectFactory<? extends Integer> value)
Phrase Document Frequency threshold.
|
public PhraseExtractorDescriptor.AttributeBuilder dfThreshold(int value)
dfThreshold documents will be ignored.PhraseExtractor.dfThresholdpublic PhraseExtractorDescriptor.AttributeBuilder dfThreshold(org.carrot2.util.attribute.IObjectFactory<? extends Integer> value)
dfThreshold documents will be ignored.PhraseExtractor.dfThreshold