Sha256: 93ef12dd590dad18e8a55982013aad19b20a7fffceb4fea6e5805267deb89be3
Contents?: true
Size: 526 Bytes
Versions: 30
Compression:
Stored size: 526 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 symbol. # # Returns a symbol. # def encoded sym code = Text::Soundex.soundex sym.to_s code.to_sym if code end end end end end
Version data entries
30 entries across 30 versions & 1 rubygems