本文整理了Java中net.sf.extjwnl.data.Word.setLexId()
方法的一些代码示例,展示了Word.setLexId()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Word.setLexId()
方法的具体详情如下:
包路径:net.sf.extjwnl.data.Word
类名称:Word
方法名:setLexId
[英]Sets the lexicographer id that identifies this lemma.
[中]设置识别此引理的词典编纂器id。
代码示例来源:origin: net.sf.extjwnl/extjwnl
if (-1 == word.getLexId()) {
maxId++;
word.setLexId(maxId);
代码示例来源:origin: net.sf.extjwnl/extjwnl
Word word = createWord(synset, lemma);
word.setUseCount(words.getInt(3));
word.setLexId(words.getInt(4));
synset.getWords().add(word);
代码示例来源:origin: extjwnl/extjwnl
Word word = createWord(synset, lemma);
word.setUseCount(words.getInt(3));
word.setLexId(words.getInt(4));
synset.getWords().add(word);
代码示例来源:origin: extjwnl/extjwnl
if (-1 == word.getLexId()) {
maxId++;
word.setLexId(maxId);
代码示例来源:origin: net.sf.extjwnl/extjwnl-utilities
log.info("Creating word {}...", lemma);
workWord = new Word(d, tempSynset, lemma);
workWord.setLexId(lexId);
tempSynset.getWords().add(workWord);
tempSynset.setLexFileNum(lexFileNum);
workWord.setLexId(Integer.parseInt(args[i]));
key = null;
} else {
代码示例来源:origin: extjwnl/extjwnl
log.info("Creating word {}...", lemma);
workWord = new Word(d, tempSynset, lemma);
workWord.setLexId(lexId);
tempSynset.getWords().add(workWord);
tempSynset.setLexFileNum(lexFileNum);
workWord.setLexId(Integer.parseInt(args[i]));
key = null;
} else {
代码示例来源:origin: extjwnl/extjwnl
w.setLexId(lexId);
synset.getWords().add(w);
代码示例来源:origin: net.sf.extjwnl/extjwnl
w.setLexId(lexId);
synset.getWords().add(w);
内容来源于网络,如有侵权,请联系作者删除!