module Phonetic
Constants
- Metaphone2
The Double
Metaphone
phonetic encoding algorithm is the second generation of theMetaphone
algorithm. Its original implementation was described by Lawrence Philips in the June 2000 issue of C/C++ Users Journal.This implementation based on the PHP implementation by Stephen Woodbridge and contains modifications of algorithm by Kevin Atkinson. @see swoodbridge.com/DoubleMetaPhone/
PHP implementation by Stephen Woodbridge
@see aspell.net/metaphone/dmetaph.cpp
C++ implementation with modifications by Kevin Atkinson
@example
Phonetic::DoubleMetaphone.encode('czerny') # => ['SRN', 'XRN'] Phonetic::DoubleMetaphone.encode('dumb') # => ['TM', 'TM'] Phonetic::DoubleMetaphone.encode('edgar') # => ['ATKR', 'ATKR'] # or use alias: Phonetic::Metaphone2.encode('czerny') # => ['SRN', 'XRN'] Phonetic::Metaphone2.encode('dumb') # => ['TM', 'TM'] Phonetic::Metaphone2.encode('edgar') # => ['ATKR', 'ATKR']
- VERSION