C:\dmd\MKoD_ex>..\bin\dmd doublemetaphone.d -debug=Test -unittest
C:\dmd\bin\..\..\dm\bin\link.exe doublemetaphone,,,user32+kernel32/noi;
C:\dmd\MKoD_ex>doublemetaphone
getDoubleMetaphone( in char[], out char[], out char[] ).unittest
unittest done.
Match found at 0 for one of the following: GN,KN,PN,WR,PS
"Write" is SlavoGermanic because one of following "W,K,CZ,WITZ" was found.
"Write" has a vowel in position 4
sWord=Write, sPrimary=RT, sSecondary=
sWord=agencies, sPrimary=AJNS, sSecondary=AKNX
sWord=nelson, sPrimary=NLSN, sSecondary=; should="NLSN"
sWord=Occasionally, sPrimary=AKSN, sSecondary=AKXN; should="AKSN", and "AKXN"
C:\dmd\MKoD_ex>