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. type safe printf

    在书里看到的,摘录如下: #include <iostream> #include <stdexcept> template<class T> struct is_ ...

  2. javascript splice

    //arrayObject.splice(index,howmany,element1,.....,elementX)//index 必需.规定从何处添加/删除元素.(0)//howmany 必需.规 ...

  3. OnePlus安装Kali-NetHunter

    1.关于 Kali NetHunter Kali NetHunter 是一款由 Offensive Security 团队研发设计的,以 Nexus(手机/平板)为基本 硬件设备,基于原生 Andro ...

  4. WEB ui快速构建

    http://www.runoob.com/bootstrap/bootstrap-ui-editor.html 1http://pingendo.com/ 2http://www.layoutit. ...

  5. Effective C++ ----以对象管理资源

    以对象管理资源 通过对象的析构函数的自动调用来自动释放资源 第一部分:几种典型的以对象管理资源的例子 1. STL::auto_ptr 获取资源后立刻放入资源管理对象 std::auto_ptr< ...

  6. 多数求和(java)

    实验题目:从命令行接受多个数字,求和之后输出结果. 设计思想:命令行输入的字符会赋值给args数组,所以在命令行输入数字后,直接取出args的数组长度,作为循环语句的终点判断,然后利用循环将字符型改为 ...

  7. vijos 1780 开车旅行

    细节巨多. 倍增即可. #include<iostream> #include<cstdio> #include<cstring> #include<algo ...

  8. SQL 时间差函数

    SELECT DateDiff(DAY,T.ActualEndDate,GetDate())  FROM JCW_CheckTask T WHERE T.status = 2

  9. 如何配置magento免运费商品方法

    作为magento电商来说,免运费是一种常见的促销手段,要让产品成为免运费对magento来说并不难,后台操作即可完成. 首先,我们要建立一个新的产品属性. catalog->attribute ...

  10. CentOS下安装keepalived 进行服务器热备

    一.准备: 1.1 安装依赖软件 如果系统为基本文本安装,需要安装一下软件  yum -y install ipvsadm yum -y install kernel kernel-devel reb ...