Exemplo n.º 1
0
        public override graphNodeCustom CreateChildItem(string nameForChild)
        {
            var output = new lexicLemmaInTypeNode();

            output.name = nameForChild;
            return(output);
        }
Exemplo n.º 2
0
        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);
        }