public termExploreModel makeTempModel(string term, pos_type type) { termExploreModel output = new termExploreModel(term); output.lemma = new termExploreItem(term); output.gramSet.Add(new gramFlags(type.ToString())); output.flags = termExploreItemEnumFlag.temp; 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); }