Class TextFieldProcessor

java.lang.Object
org.tribuo.data.columnar.processors.field.TextFieldProcessor
All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Configurable, com.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>, FieldProcessor

public class TextFieldProcessor extends Object implements FieldProcessor
A FieldProcessor which takes a text field and runs a TextPipeline on it to generate features.
  • Constructor Details

    • TextFieldProcessor

      public TextFieldProcessor(String fieldName, TextPipeline pipeline)
      Constructs a field processor which uses the supplied text pipeline to process the field value.
      Parameters:
      fieldName - The field name to read.
      pipeline - The text processing pipeline to use.
  • Method Details