Пример #1
0
        private static void insert(List <Vertex> listIterator, List <EnumItem <Corpus.Tag.NS> > tagList, WordNet wordNetAll, int line, Corpus.Tag.NS ns)
        {
            Vertex vertex = wordNetAll.getFirst(line);

            //assert vertex != null : "全词网居然有空白行!";
            listIterator.Add(vertex);
            tagList.Add(new EnumItem <Corpus.Tag.NS>(ns, 1000));
        }