Sha256: a41afad9cc0d95c5a57d174789dfdb6675fbae9b1fcbafe77111b89cda53f8bb
Contents?: true
Size: 526 Bytes
Versions: 1
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.intern if code end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
picky-3.5.0 | lib/picky/generators/similarity/soundex.rb |