public static class TermDocumentMatrixReducerDescriptor.AttributeBuilder extends Object
TermDocumentMatrixReducer
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 |
---|---|
TermDocumentMatrixReducerDescriptor.AttributeBuilder |
factorizationFactory(Class<?> clazz)
Factorization method.
|
TermDocumentMatrixReducerDescriptor.AttributeBuilder |
factorizationFactory(IMatrixFactorizationFactory value)
Factorization method.
|
TermDocumentMatrixReducerDescriptor.AttributeBuilder |
factorizationFactory(org.carrot2.util.attribute.IObjectFactory<? extends IMatrixFactorizationFactory> value)
Factorization method.
|
TermDocumentMatrixReducerDescriptor.AttributeBuilder |
factorizationQuality(org.carrot2.util.attribute.IObjectFactory<? extends IterationNumberGuesser.FactorizationQuality> value)
Factorization quality.
|
TermDocumentMatrixReducerDescriptor.AttributeBuilder |
factorizationQuality(IterationNumberGuesser.FactorizationQuality value)
Factorization quality.
|
public TermDocumentMatrixReducerDescriptor.AttributeBuilder factorizationFactory(IMatrixFactorizationFactory value)
public TermDocumentMatrixReducerDescriptor.AttributeBuilder factorizationFactory(Class<?> clazz)
public TermDocumentMatrixReducerDescriptor.AttributeBuilder factorizationFactory(org.carrot2.util.attribute.IObjectFactory<? extends IMatrixFactorizationFactory> value)
public TermDocumentMatrixReducerDescriptor.AttributeBuilder factorizationQuality(IterationNumberGuesser.FactorizationQuality value)
public TermDocumentMatrixReducerDescriptor.AttributeBuilder factorizationQuality(org.carrot2.util.attribute.IObjectFactory<? extends IterationNumberGuesser.FactorizationQuality> value)