protected static DistanceInput PhraseToDistanceInput(string phrase) { EnPronouncer pronouncer = EnPronouncer.Instance; return(new DistanceInput(phrase, pronouncer.Pronounce(phrase))); }
private static DistanceInput CreateInput(string phrase) { EnPronouncer pronouncer = EnPronouncer.Instance; return(new DistanceInput(phrase, pronouncer.Pronounce(phrase))); }