private string GetNounEnding(DeclensionChart chart) { if (this.Number == Number.Singular) { if (this.Case == Case.Nominative) { return(chart.NomSing); } else if (this.Case == Case.Genitive) { return(chart.GenSing); } else if (this.Case == Case.Dative) { return(chart.DatSing); } else if (this.Case == Case.Accusative) { return(chart.AccSing); } else if (this.Case == Case.Ablative) { return(chart.AblSing); } else if (this.Case == Case.Vocative) { return(chart.VocSing); } } else if (this.Number == Number.Plural) { if (this.Case == Case.Nominative) { return(chart.NomPlur); } else if (this.Case == Case.Genitive) { return(chart.GenPlur); } else if (this.Case == Case.Dative) { return(chart.DatPlur); } else if (this.Case == Case.Accusative) { return(chart.AccPlur); } else if (this.Case == Case.Ablative) { return(chart.AblPlur); } else if (this.Case == Case.Vocative) { return(chart.VocPlur); } } return(null); }
public string GetParsedForm() { ParsedForm = GetNounStem(); DeclensionChart chart = GetDeclensionChart(); ParsedForm += GetNounEnding(chart); return(ParsedForm); }