|
Carrot2 v3.6.0-SNAPSHOT
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.text.preprocessing.pipeline.BasicPreprocessingPipelineDescriptor.AttributeBuilder
public static class BasicPreprocessingPipelineDescriptor.AttributeBuilder
Attribute map builder for the BasicPreprocessingPipeline 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 |
BasicPreprocessingPipelineDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map. |
| 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 BasicPreprocessingPipelineDescriptor.AttributeBuilder(Map<String,Object> map)
| Method Detail |
|---|
public BasicPreprocessingPipelineDescriptor.AttributeBuilder tokenizerFactory(ITokenizerFactory value)
BasicPreprocessingPipeline.tokenizerFactorypublic BasicPreprocessingPipelineDescriptor.AttributeBuilder tokenizerFactory(Class<? extends ITokenizerFactory> clazz)
BasicPreprocessingPipeline.tokenizerFactorypublic BasicPreprocessingPipelineDescriptor.AttributeBuilder stemmerFactory(IStemmerFactory value)
BasicPreprocessingPipeline.stemmerFactorypublic BasicPreprocessingPipelineDescriptor.AttributeBuilder stemmerFactory(Class<? extends IStemmerFactory> clazz)
BasicPreprocessingPipeline.stemmerFactorypublic BasicPreprocessingPipelineDescriptor.AttributeBuilder lexicalDataFactory(ILexicalDataFactory value)
BasicPreprocessingPipeline.lexicalDataFactorypublic BasicPreprocessingPipelineDescriptor.AttributeBuilder lexicalDataFactory(Class<? extends ILexicalDataFactory> clazz)
BasicPreprocessingPipeline.lexicalDataFactorypublic TokenizerDescriptor.AttributeBuilder tokenizer()
Tokenizer component, backed by the same attribute map
as the current builder.
public CaseNormalizerDescriptor.AttributeBuilder caseNormalizer()
CaseNormalizer component, backed by the same attribute map
as the current builder.
public LanguageModelStemmerDescriptor.AttributeBuilder languageModelStemmer()
LanguageModelStemmer component, backed by the same attribute map
as the current builder.
public StopListMarkerDescriptor.AttributeBuilder stopListMarker()
StopListMarker component, backed by the same attribute map
as the current builder.
|
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 | ||||||||