finding noun and verb in stanford parser

后端 未结 3 1970
失恋的感觉
失恋的感觉 2020-12-30 14:26

I need to find whether a word is verb or noun or it is both

For example, the word is \"search\" it can be both noun and a verb but stanford parser gives NN tag to i

3条回答
  •  没有蜡笔的小新
    2020-12-30 15:24

    WordNet is what you want. It provides an API to an English lexicon with possible parts-of-speech, synonyms, word senses, hypernym/hyponym relations and more.

    See Yawni for a great pure-Java WordNet API.

提交回复
热议问题