Sha256: f599cb3998a3b063709491a205f9aeb311f888c13fabaff292728a89aa36cb49
Contents?: true
Size: 349 Bytes
Versions: 1
Compression:
Stored size: 349 Bytes
Contents
require 'spec_helper' describe Preprocessor::Stemming do it_behaves_like 'a preprocessor' let(:preprocessor) { Preprocessor::Stemming.new } let(:job) { FactoryGirl.build(:job) } let(:jobs) { [job] } it "should reduce words to their stem" do preprocessor.clean_description("developer engineering").should == %w(develop engin) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
svm_helper-0.2.1 | spec/svm_helper/preprocessors/stemming_spec.rb |