public override graphNodeCustom CreateChildItem(string nameForChild) { var output = new lexicLemmaInTypeNode(); output.name = nameForChild; return(output); }
public lexicLemmaInTypeNode AddLemmaInType(String lemmaForm, pos_type posType) { var __name = lemmaForm + "|" + posType.ToString(); if (mychildren.ContainsKey(__name)) { return(mychildren[__name] as lexicLemmaInTypeNode); } var output = new lexicLemmaInTypeNode(lemmaForm, posType, __name); Add(output); return(output); }