Created
October 31, 2016 10:38
-
-
Save dejwid/2f343cbacb77b45d63b69ba924336d78 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$soundex = [ | |
'sz' => 's', | |
'cz' => 'c', | |
'ch' => 'h', | |
'ó' => 'u', | |
'ą' => 'o', | |
'ł' => 'l', | |
'dź' => 'z', | |
'ż' => 'z', | |
'ę' => 'e', | |
'en' => 'e', | |
'm' => 'n', | |
'f' => 'w', | |
'v' => 'w', | |
'j' => 'i', | |
'ij' => 'i', | |
'ii' => 'i', | |
'ci' => 'c', | |
'si' => 's', | |
'zi' => 'z', | |
'ni' => 'n', | |
'g' => 'k', | |
'mn' => 'n', | |
'mi' => 'm', | |
'nn' => 'n', | |
'm' => 'n', | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment