Sha256: 931fb9c6a0d27b760bcaaffa53068afa1eb54ecab2f9c2fef69d603ef1498858
Contents?: true
Size: 455 Bytes
Versions: 6
Compression:
Stored size: 455 Bytes
Contents
module Quarry class TextPipeline attr_reader :text_pipeline def initialize(tp = nil) @text_pipeline = tp || Quarry::ImplTextPipeline.new end def process_text(data_set, text, create_features = false) ::Quarry::DataSet::Example.new(@text_pipeline.process_text(data_set.data_set, text, create_features)) end def self.standard_pipeline new(Quarry::Preprocessing::Text.standard_pipeline) end end end
Version data entries
6 entries across 6 versions & 1 rubygems