本文整理了Java中net.sf.extjwnl.data.Word.setUseCount()
方法的一些代码示例,展示了Word.setUseCount()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Word.setUseCount()
方法的具体详情如下:
包路径:net.sf.extjwnl.data.Word
类名称:Word
方法名:setUseCount
[英]Sets the number of times each tagged sense occurs in a semantic concordance.
[中]设置每个标记的意义在语义一致性中出现的次数。
代码示例来源:origin: net.sf.extjwnl/extjwnl
private Synset parseAndCacheSynset(POS pos, PointedCharSequence line) throws JWNLException {
Synset result = null;
if (null != line) {
result = factory.createSynset(pos, line);
for (Word w : result.getWords()) {
w.setUseCount(fileManager.getUseCount(w.getSenseKeyWithAdjClass()));
}
cacheSynset(result);
}
return result;
}
}
代码示例来源:origin: extjwnl/extjwnl
private Synset parseAndCacheSynset(POS pos, PointedCharSequence line) throws JWNLException {
Synset result = null;
if (null != line) {
result = factory.createSynset(pos, line);
for (Word w : result.getWords()) {
w.setUseCount(fileManager.getUseCount(w.getSenseKeyWithAdjClass()));
}
cacheSynset(result);
}
return result;
}
}
代码示例来源:origin: net.sf.extjwnl/extjwnl
String lemma = stringCache.replace(words.getString(1));
Word word = createWord(synset, lemma);
word.setUseCount(words.getInt(3));
word.setLexId(words.getInt(4));
synset.getWords().add(word);
代码示例来源:origin: extjwnl/extjwnl
String lemma = stringCache.replace(words.getString(1));
Word word = createWord(synset, lemma);
word.setUseCount(words.getInt(3));
word.setLexId(words.getInt(4));
synset.getWords().add(word);
代码示例来源:origin: net.sf.extjwnl/extjwnl-utilities
workWord.setUseCount(Integer.parseInt(args[i]));
key = null;
} else {
代码示例来源:origin: extjwnl/extjwnl
workWord.setUseCount(Integer.parseInt(args[i]));
key = null;
} else {
内容来源于网络,如有侵权,请联系作者删除!