NOUN n,VERB v ,ADJ a, ADV r, ADJ_SAT s

    NOUN: [('s', ''), ('ses', 's'), ('ves', 'f'), ('xes', 'x'),

               ('zes', 'z'), ('ches', 'ch'), ('shes', 'sh'),

               ('men', 'man'), ('ies', 'y')],

    VERB: [('s', ''), ('ies', 'y'), ('es', 'e'), ('es', ''),

               ('ed', 'e'), ('ed', ''), ('ing', 'e'), ('ing', '')],

    ADJ: [('er', ''), ('est', ''), ('er', 'e'), ('est', 'e')],

    ADV: [],

    ADJ_SAT:[('er', ''), ('est', ''), ('er', 'e'), ('est', 'e')]

    pos_tag(word_tokenize("John's big idea isn't all that bad.")) # doctest: +SKIP

        [('John', 'NNP'), ("'s", 'POS'), ('big', 'JJ'), ('idea', 'NN'), ('is',

        'VBZ'), ("n't", 'RB'), ('all', 'DT'), ('that', 'DT'), ('bad', 'JJ'),

        ('.', '.')]

1.      CC      Coordinating conjunction 连接词

2.     CD     Cardinal number  基数词

3.     DT     Determiner
 限定词(如this,that,these,those,such,不定限定词:no,some,any,each,every,enough,either,neither,all,both,half,several,many,much,(a)
few,(a) little,other,another.

4.     EX     Existential there 存在句

5.     FW     Foreign word 外来词

6.     IN     Preposition or subordinating conjunction 介词或从属连词

7.     JJ     Adjective 形容词或序数词

8.     JJR     Adjective, comparative 形容词比较级

9.     JJS     Adjective, superlative 形容词最高级

10.     LS     List item marker 列表标示

11.     MD     Modal 情态助动词

12.     NN     Noun, singular or mass 常用名词 单数形式

13.     NNS     Noun, plural  常用名词 复数形式

14.     NNP     Proper noun, singular  专有名词,单数形式

15.     NNPS     Proper noun, plural  专有名词,复数形式

16.     PDT     Predeterminer 前位限定词

17.     POS     Possessive ending 所有格结束词

18.     PRP     Personal pronoun 人称代词

19.     PRP$     Possessive pronoun 所有格代名词

20.     RB     Adverb 副词

21.     RBR     Adverb, comparative 副词比较级

22.     RBS     Adverb, superlative 副词最高级

23.     RP     Particle 小品词

24.     SYM     Symbol 符号

25.     TO     to 作为介词或不定式格式

26.     UH     Interjection 感叹词

27.     VB     Verb, base form 动词基本形式

28.     VBD     Verb, past tense 动词过去式

29.     VBG     Verb, gerund or present participle 动名词和现在分词

30.     VBN     Verb, past participle 过去分词

31.     VBP     Verb, non-3rd person singular present 动词非第三人称单数

32.     VBZ     Verb, 3rd person singular present 动词第三人称单数

33.     WDT     Wh-determiner 限定词(如关系限定词:whose,which.疑问限定词:what,which,whose.)

34.     WP      Wh-pronoun 代词(who whose which)

35.     WP$     Possessive wh-pronoun 所有格代词

36.     WRB     Wh-adverb   疑问代词(how where when)

转载自:这里

NLTK中的词性的更多相关文章

  1. 在 NLTK 中使用 Stanford NLP 工具包

    转载自:http://www.zmonster.me/2016/06/08/use-stanford-nlp-package-in-nltk.html 目录 NLTK 与 Stanford NLP 安 ...

  2. nltk中的三元词组,二元词组

    在做英文文本处理时,常常会遇到这样的情况,需要我们提取出里面的词组进行主题抽取,尤其是具有行业特色的,比如金融年报等.其中主要进行的是进行双连词和三连词的抽取,那如何进行双连词和三连词的抽取呢?这是本 ...

  3. nltk 中的 sents 和 words

    nltk 中的 sents 和 words ,为后续处理做准备. #!/usr/bin/env python # -*- coding: utf-8 -*- from nltk.corpus impo ...

  4. 中文分词工具jieba中的词性类型

    jieba为自然语言语言中常用工具包,jieba具有对分词的词性进行标注的功能,词性类别如下: Ag 形语素 形容词性语素.形容词代码为 a,语素代码g前面置以A. a 形容词 取英语形容词 adje ...

  5. 在nltk中调用stanfordparser处理中文

    出现unicode decode error 解决办法是修改nltk包internals.py的java()下增加cmd的参数,cmd = ["-Dfile.encoding=UTF-8&q ...

  6. Python自然语言处理实践: 在NLTK中使用斯坦福中文分词器

    http://www.52nlp.cn/python%E8%87%AA%E7%84%B6%E8%AF%AD%E8%A8%80%E5%A4%84%E7%90%86%E5%AE%9E%E8%B7%B5-% ...

  7. python+NLTK 自然语言学习处理三:如何在nltk/matplotlib中的图片中显示中文

    我们首先来加载我们自己的文本文件,并统计出排名前20的字符频率 if __name__=="__main__": corpus_root='/home/zhf/word' word ...

  8. 使用Python中的NLTK和spaCy删除停用词与文本标准化

    概述 了解如何在Python中删除停用词与文本标准化,这些是自然语言处理的基本技术 探索不同的方法来删除停用词,以及讨论文本标准化技术,如词干化(stemming)和词形还原(lemmatizatio ...

  9. Python文本处理nltk基础

    自然语言处理 -->计算机数据 ,计算机可以处理vector,matrix 向量矩阵. NLTK 自然语言处理库,自带语料,词性分析,分类,分词等功能. 简单版的wrapper,比如textbl ...

随机推荐

  1. EditTest输入类型设置

    1,当输入为文字性密码时,输入前有提示效果,输入后有遮蔽效果 android:hint="@string/hint_etPassword" android:inputType=&q ...

  2. [ASP.net教程]ASP.NET保存信息总结(Application、Session、Cookie、ViewState和Cache等)

    以下是关于ASP.NET中保存各种信息的对象的比较,理解这些对象的原理,对制作完善的程序来说是相当有必要的(摘至互联网,并非原创--xukunping)在ASP.NET中,有很多种保存信息的对象.例如 ...

  3. python 优雅的使用正则表达式 ~ 1

    正则表达式简介 正则表达式 , 也称谓 REs , 本质上是一个微小且高度专业化的编程语言. 他被嵌入到许多语言当中 , 例如 python 就是通过 re 模块来提供给我们使用 , 正则表达式 是通 ...

  4. ubuntu系统安装mongodb

    安装mongodb sudo apt-get install mongodb ... ... 设置客户端连接 打开文件/etc/mongodb.conf  注意权限 修改 bind_ip=127.0. ...

  5. Objective-C determine data network type of the iOS device

    Im on an application that receive data from server, the problem is when user connect to cellular dat ...

  6. 11、SQL基础整理(变量)

    变量 定义变量:declare  @hello  varchar(20) 赋值:set  @hello = ‘你好’ select(结果框显示)/print(消息框显示) @hello *三行必须同时 ...

  7. Codechef2015 May - Chef and Strings (后缀自动机)

    用后缀自动机统计出出现1~n次的串的数量f[i] 对于ans[k]=sigma(f[i]*C(i,k)) i>=k ; mo=; ..maxn] of dword; nt:..maxn,'a'. ...

  8. [转]ELO等级分体系

    [译前注:有读者问ELO等级分体系的说明.观网上好象没发现单篇文章就说得通俗清晰的,只好把找到几篇文章拿在一起合译互相补充.其间发现具体说法稍有差异,但总的来说概念一致.FIDE已经专门制定计算表了, ...

  9. Makefile学习(1) arm-linux-ld arm-linux-objcopy arm-linux-objdump

    记录自己所学的点点滴滴O(∩_∩)O哈哈~ makefile: link.bin: start.o main.o arm-linux-ld -Tlink.lds -o link.elf $^ arm- ...

  10. 代码管理工具TortoiseSVN

    . TortoiseSVN TortoiseSVN与Windows Explorer集成可称为是一款功能齐全的SVN客户端,允许你管理SVN项目.其自身就包含客户端无需再安装额外的SVN客户端.它还提 ...