获取名词和列表来自 WordNet 的形容词

发布于 2024-10-01 00:46:03 字数 90 浏览 0 评论 0原文

我对 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 ?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

辞旧 2024-10-08 00:46:03

如果您使用的是 MySQL 版本的 Wordnet 3.0,则可以使用以下查询:

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”。

史蒂夫

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文