This library is a Common Lisp-implementation of the Cologne Phonetics algorithm. It is based on Janek Nouvertné’s cologne_phonetics.py.
Clone the repository into $HOME/quicklisp/local-projects/
or any
other directory seen by asdf (member of asdf:*central-registry*).
(ql:quickload :cologne-phonetics)
(cologne-phonetics:encode "Philipp Philip Filip Filipp Fillipp")
;; => ("351" "351" "351" "351" "351")
(asdf:load-system :cologne-phonetics)
(cologne-phonetics:encode "Philipp Philip Filip Filipp Fillipp")
;; => ("351" "351" "351" "351" "351")