sS ai_naturalWordType(S word) { if (isAdjective(word)) ret "adjective"; if (isAdverb(word)) ret "adverb"; if (isNoun(word)) ret "noun"; null; }