【发布时间】:2015-10-28 10:56:29
【问题描述】:
我正在使用SimpleNLG 4.4.2 来获取名词的复数形式:
final XMLLexicon xmlLexicon = new XMLLexicon();
final WordElement word = xmlLexicon.getWord("apple", LexicalCategory.NOUN);
System.out.println(word);
System.out.println(word.getFeature(LexicalFeature.PLURAL));
但是,即使对于这个简单的示例,getFeature 也会返回 null 而不是 apples。我做错了什么?
【问题讨论】:
-
对于不规则复数的名词是否返回
null,例如ox或automaton?还有,你见过the caveat at the bottom of this page吗?