简体   繁体   English

ntlk:如何获得单词的变化

[英]ntlk: how to get inflections of words

I have a list of words, nearly 5000 English words, and for each word I need these inflectional forms: 我有一个单词列表,近5000个英文单词,每个单词我需要这些屈折形式:

noun: singular and plural 名词:单数和复数

verb: infinitive, present simple, present simple 3rd person, past simple, present participle (ing form), past participle 动词:不定式,现在简单,现在简单第三人,过去简单,现在分词(形式),过去分词

adjective: comparative and superlative 形容词:比较和最高级

adverb 副词

How can I extract these information from a given word (eg help) in ntlk via python? 如何通过python从ntlk中的给定单词(例如help)中提取这些信息? (or maybe there is a ready made list) (或者可能有一个现成的清单)

对于奇点和多元,您可以始终使用' pattern-en '库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM