Fix soundex
parent
2a1f6885fb
commit
19919bb130
|
@ -2,3 +2,4 @@ IN: soundex.tests
|
||||||
USING: soundex tools.test ;
|
USING: soundex tools.test ;
|
||||||
|
|
||||||
[ "S162" ] [ "supercalifrag" soundex ] unit-test
|
[ "S162" ] [ "supercalifrag" soundex ] unit-test
|
||||||
|
[ "M000" ] [ "M" soundex ] unit-test
|
||||||
|
|
|
@ -25,8 +25,8 @@ TR: soundex-tr
|
||||||
[ first>upper ]
|
[ first>upper ]
|
||||||
[
|
[
|
||||||
soundex-tr
|
soundex-tr
|
||||||
trim-first
|
[ "" ] [ trim-first ] if-empty
|
||||||
remove-duplicates
|
[ "" ] [ remove-duplicates ] if-empty
|
||||||
remove-zeroes
|
remove-zeroes
|
||||||
] bi
|
] bi
|
||||||
pad-4
|
pad-4
|
||||||
|
|
Loading…
Reference in New Issue