private void cmdSoundex2_Click(object sender, EventArgs e) { var msg = Soundex.Encode(txtSecondText.Text.Trim()); MessageBox.Show(msg); var phonetic = new PhoneticMatch(); var pMsg = phonetic.CreateToken(txtSecondText.Text.Trim()); MessageBox.Show(pMsg); }
//https://ru.wikipedia.org/wiki/Soundex public string TestKnownValues(string value) { string actual = Soundex.Encode(value); return(actual); }
private void cmdSoundex1_Click(object sender, EventArgs e) { var msg = Soundex.Encode(txtFirstText.Text.Trim()); MessageBox.Show(msg); }
public void RetainsSoleLetterOfOneLetterWord() { Assert.Equal("A000", soundex.Encode("A")); }