Closed jablan closed 10 years ago
Are you using Metaphone for a profanity filter or something? :-P
You're quite right. This is a bug. I think I've fixed it.
Sorry, the original string was actually "Hitchcock", I just wanted to simplify it a bit for the example... :) Thanks for the fix, I plan to run this on a bunch of other strings so you may expect other bug reports too.
ck
should be encoded ask
. Currently, it seems to result withkk
.Example:
metaphone('cock')
should result withKK
, notKKK
.