Sha256: 98efcc51a963a6e1453d52bd08891039f5d756104ad8459042c14c1fe66ce5df
Contents?: true
Size: 427 Bytes
Versions: 1
Compression:
Stored size: 427 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) Example.new(@text_pipeline.process_text(data_set, text, create_features)) end def self.standard_pipeline new(Quarry::Preprocessing::Text.standard_pipeline) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thera-0.0.2 | lib/quarry_rb/text_pipeline.rb |