Sha256: e26056dcdf73c3e85ec7fc66564dc71f00cd087ffa8e02c5ed6d4f6b597fc579
Contents?: true
Size: 377 Bytes
Versions: 10
Compression:
Stored size: 377 Bytes
Contents
require 'benchmark' require 'turkish_stemmer' require 'lingua/stemmer' Benchmark.bmbm(7) do |x| lingua_stemmer = Lingua::Stemmer.new(:language => "tr") x.report('Stem using turkish_stemmer gem') do 1_000.times { TurkishStemmer.stem("telephonlar") } end x.report('Stem using ruby-stemmer gem') do 1_000.times { lingua_stemmer.stem("telephonlar") } end end
Version data entries
10 entries across 10 versions & 1 rubygems