Get List of Nouns & Adjectives from WordNet

前端 未结 1 1367
谎友^
谎友^ 2021-01-25 02:32

I am pretty new to Wordnet and so finding it a little confusing to be honest. Just wondering how I am able to generate a full list of nouns and a full list of adjectives from th

1条回答
  •  北海茫月
    2021-01-25 02:53

    If you're using the MySQL version of Wordnet 3.0 you can use the following query:

    select lemma from words left join senses on words.wordid = senses.wordid left join synsets on senses.synsetid = synsets.synsetid where pos = 'n'

    And replace 'n' with 'a' for the adjectives.

    Steve

    0 讨论(0)
提交回复
热议问题