public string GetCase(string phrase, string @case) { var fullParadigm = inner.Parse(phrase); if (fullParadigm == null) { return(null); } var singular = fullParadigm.Singular; if (singular.Equals(default(TParadigm))) { return(null); } return(singular.Get(caseParser.Parse(@case))); }
string IDynamicSpeller.Spell(decimal n, ref string unit, string @case) { return(genericSpeller.AddCase(caseParser.Parse(@case)).Spell(n, ref unit)); }