Sha256: 05942a0cb0b6d14e1e7e79ed7743eeba219432f257c096a67e02320ab14c5e80
Contents?: true
Size: 491 Bytes
Versions: 21
Compression:
Stored size: 491 Bytes
Contents
module Picky # encoding: utf-8 # module Generators module Similarity # It's actually a combination of soundex # and Levenshtein. # # It uses the soundex to get similar words # and ranks them using the levenshtein. # class Soundex < Phonetic # Encodes the given string/symbol. # # Returns a symbol. # def encoded str_or_sym str_or_sym.soundex end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
picky-3.6.0 | lib/picky/generators/similarity/soundex.rb |