public void TranscribeWordOovTest2() { IpaTranscriber ipa = new IpaTranscriber(); var phrase = "happened"; var expected = "/<OOV>/"; string phrase_ipa = ipa.Transcribe(phrase).Trim(); Assert.AreEqual(phrase_ipa, expected); }
public void TranscribeWordTest3() { IpaTranscriber ipa = new IpaTranscriber(); var input = "kbapmftrkl"; var expected = "<OOV>"; string output_ipa = ipa.Transcribe(input).Trim(); Assert.AreEqual(output_ipa, expected); }
public void TranscribeWordTest2() { IpaTranscriber ipa = new IpaTranscriber(); var input = "are"; var expected = "ɑr"; string output_ipa = ipa.Transcribe(input).Trim(); Assert.AreEqual(output_ipa, expected); }
public void TranscribeWordTest_POS() { IpaTranscriber ipa = new IpaTranscriber(); var input = "effect"; var expected = "ju"; //string output_ipa = ipa.TranscribePhrase(input).Trim(); string output_ipa = ipa.Transcribe(input).Trim(); Assert.AreEqual(output_ipa, expected); }