org.carrot2.text.preprocessing.pipeline
Class CompletePreprocessingPipelineDescriptor.AttributeBuilder

java.lang.Object
  extended by org.carrot2.text.preprocessing.pipeline.BasicPreprocessingPipelineDescriptor.AttributeBuilder
      extended by org.carrot2.text.preprocessing.pipeline.CompletePreprocessingPipelineDescriptor.AttributeBuilder
Enclosing class:
CompletePreprocessingPipelineDescriptor

public static class CompletePreprocessingPipelineDescriptor.AttributeBuilder
extends BasicPreprocessingPipelineDescriptor.AttributeBuilder

Attribute map builder for the CompletePreprocessingPipeline 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 CompletePreprocessingPipelineDescriptor.AttributeBuilder(Map<String,Object> map)
          Creates a builder backed by the provided map.
 
Method Summary
 DocumentAssignerDescriptor.AttributeBuilder documentAssigner()
          Returns an attribute builder for the nested DocumentAssigner component, backed by the same attribute map as the current builder.
 LabelFilterProcessorDescriptor.AttributeBuilder labelFilterProcessor()
          Returns an attribute builder for the nested LabelFilterProcessor component, backed by the same attribute map as the current builder.
 PhraseExtractorDescriptor.AttributeBuilder phraseExtractor()
          Returns an attribute builder for the nested PhraseExtractor component, backed by the same attribute map as the current builder.
 
Methods inherited from class org.carrot2.text.preprocessing.pipeline.BasicPreprocessingPipelineDescriptor.AttributeBuilder
caseNormalizer, languageModelStemmer, lexicalDataFactory, lexicalDataFactory, stemmerFactory, stemmerFactory, stopListMarker, tokenizer, tokenizerFactory, tokenizerFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

public final Map<String,Object> map
The attribute map populated by this builder.

Constructor Detail

CompletePreprocessingPipelineDescriptor.AttributeBuilder

protected CompletePreprocessingPipelineDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.

Method Detail

phraseExtractor

public PhraseExtractorDescriptor.AttributeBuilder phraseExtractor()
Returns an attribute builder for the nested PhraseExtractor component, backed by the same attribute map as the current builder.


labelFilterProcessor

public LabelFilterProcessorDescriptor.AttributeBuilder labelFilterProcessor()
Returns an attribute builder for the nested LabelFilterProcessor component, backed by the same attribute map as the current builder.


documentAssigner

public DocumentAssignerDescriptor.AttributeBuilder documentAssigner()
Returns an attribute builder for the nested DocumentAssigner component, backed by the same attribute map as the current builder.



Copyright (c) Dawid Weiss, Stanislaw Osinski