Esempio n. 1
0
        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);
        }
Esempio 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);
        }