Uses of Interface
org.tribuo.data.text.TextFeatureExtractor
Packages that use TextFeatureExtractor
Package
Description
Provides implementations of text data processors.
-
Uses of TextFeatureExtractor in org.tribuo.data.text
Fields in org.tribuo.data.text declared as TextFeatureExtractorModifier and TypeFieldDescriptionprotected TextFeatureExtractor<T>DirectoryFileSource.extractorThe extractor that we'll use to turn text into examples.protected TextFeatureExtractor<T>TextDataSource.extractorThe extractor that we'll use to turn text into examples.Constructors in org.tribuo.data.text with parameters of type TextFeatureExtractorModifierConstructorDescriptionDirectoryFileSource(Path dataDir, OutputFactory<T> outputFactory, TextFeatureExtractor<T> extractor, DocumentPreprocessor... preprocessors) Creates a data source that will use the given feature extractor and document preprocessors on the data read from the files in the directories representing classes.TextDataSource(File file, OutputFactory<T> outputFactory, TextFeatureExtractor<T> extractor, DocumentPreprocessor... preprocessors) Creates a text data set by reading it from a file.TextDataSource(Path path, OutputFactory<T> outputFactory, TextFeatureExtractor<T> extractor, DocumentPreprocessor... preprocessors) Creates a text data set by reading it from a path. -
Uses of TextFeatureExtractor in org.tribuo.data.text.impl
Classes in org.tribuo.data.text.impl that implement TextFeatureExtractorConstructors in org.tribuo.data.text.impl with parameters of type TextFeatureExtractorModifierConstructorDescriptionSimpleStringDataSource(List<String> rawLines, OutputFactory<T> outputFactory, TextFeatureExtractor<T> extractor) Constructs a simple string data source from the supplied lines.SimpleTextDataSource(File file, OutputFactory<T> outputFactory, TextFeatureExtractor<T> extractor) Constructs a simple text data source by reading lines from the supplied file.SimpleTextDataSource(Path path, OutputFactory<T> outputFactory, TextFeatureExtractor<T> extractor) Constructs a simple text data source by reading lines from the supplied path.protectedSimpleTextDataSource(OutputFactory<T> outputFactory, TextFeatureExtractor<T> extractor) Cosntructs a data source without a path.