sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Text::Metaphone#metaphone
Returns the Metaphone representation of a string. If the string contains multiple words, each word in turn is converted into its Metaphone representation. Note that only the letters A-Z are supported, so any language-specific processing should be done beforehand. If the :buggy option is set, alternate 'buggy' rules are used.
Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/text-1.3.1/lib/text/metaphone.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Text--Metaphone-metaphone-for-pr
# Commit to gitgit add app/server/ruby/vendor/text-1.3.1/lib/text/metaphone.rbgit commit -m "better docs for Text::Metaphone#metaphone"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Text--Metaphone-metaphone-for-pr
hub pull-request
# Celebrate!