获取名词和放大器的清单;从共发现形容词 [英] Get List of Nouns & Adjectives from WordNet

查看:212
本文介绍了获取名词和放大器的清单;从共发现形容词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是很新的WORDNET等发现它有点混乱,是诚实的。只是想知道我是如何生成名词的完整列表,并从WORDNET数据库形容词的完整列表?

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 the Wordnet database ?

感谢

推荐答案

如果您正在使用WORDNET 3.0的MySQL版本,你可以使用下面的查询:

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

选择引理从文字左加入感官上words.wordid = senses.wordid左连接同义词集上senses.synsetid = synsets.synsetid,其中POS =N

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

和替换'N'与A为形容词。

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

史蒂夫

这篇关于获取名词和放大器的清单;从共发现形容词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆