Package pypln :: Package utils :: Module tagset
[hide private]

Source Code for Module pypln.utils.tagset

 1  # coding: utf-8 
 2   
 3   
 4  tagset_nltk = {'"': ('closing-quotation-mark', 'Closing quotation mark'), 
 5                 '$': ('dollar', 'Dollar'), 
 6                 '(': ('opening-parenthesis', 'Opening parenthesis'), 
 7                 ')': ('closing-parenthesis', 'Closing parenthesis'), 
 8                 '--': ('dash', 'Dash'), 
 9                 '.': ('sentence-terminator', 'Sentence terminator'), 
10                 '0': ('comma', 'Comma'), 
11                 ':': ('colon-or-ellipsis', 'Colon or ellipsis'), 
12                 'CC': ('conjunction-coordinating', 'Conjunction, coordinating'), 
13                 'CD': ('numeral-cardinal', 'Numeral, cardinal'), 
14                 'DT': ('determiner', 'Determiner'), 
15                 'EX': ('existential-there', 'Existential there'), 
16                 'FW': ('foreign-word', 'Foreign word'), 
17                 'IN': ('preposition-or-conjunction-subordinating', 
18                        'Preposition or conjunction, subordinating'), 
19                 'JJ': ('adjective-or-numeral-ordinal', 
20                        'Adjective or numeral, ordinal'), 
21                 'JJR': ('adjective-comparative', 'Adjective, comparative'), 
22                 'JJS': ('adjective-superlative', 'Adjective, superlative'), 
23                 'LS': ('list-item-marker', 'List item marker'), 
24                 'MD': ('modal-auxiliary', 'Modal auxiliary'), 
25                 'NN': ('noun-common-singular-or-mass', 
26                        'Noun, common, singular or mass'), 
27                 'NNP': ('noun-proper-singular', 'Noun, proper, singular'), 
28                 'NNPS': ('noun-proper-plural', 'Noun, proper, plural'), 
29                 'NNS': ('noun-common-plural', 'Noun, common, plural'), 
30                 'NP': ('noun-proper-singular', 'Noun, proper, singular'), 
31                 'NPS': ('noun-proper-plural', 'Noun, proper, plural'), 
32                 'PDT': ('pre-determiner', 'Pre-determiner'), 
33                 'POS': ('genitive-marker', 'Genitive marker'), 
34                 'PP': ('pronoun-personal', 'Pronoun, personal'), 
35                 'PP$': ('pronoun-possessive', 'Pronoun, possessive'), 
36                 'PRP': ('pronoun-personal', 'Pronoun, personal'), 
37                 'PRP$': ('pronoun-possessive', 'Pronoun, possessive'), 
38                 'RB': ('adverb', 'Adverb'), 
39                 'RBR': ('adverb-comparative', 'Adverb, comparative'), 
40                 'RBS': ('adverb-superlative', 'Adverb, superlative'), 
41                 'RP': ('particle', 'Particle'), 
42                 'SYM': ('symbol', 'Symbol'), 
43                 'TO': ('to-as-preposition-or-infinitive-marker', 
44                        '"to" as preposition or infinitive marker'), 
45                 'UH': ('interjection', 'Interjection'), 
46                 'VB': ('verb-base-form', 'Verb, base form'), 
47                 'VBD': ('verb-past-tense', 'Verb, past tense'), 
48                 'VBG': ('verb-present-participle-or-gerund', 
49                         'Verb, present participle or gerund'), 
50                 'VBN': ('verb-past-participle', 'Verb, past participle'), 
51                 'VBP': ('verb-present-tense-not-3rd-person-singular', 
52                         'Verb, present tense, not 3rd person singular'), 
53                 'VBZ': ('verb-present-tense-3rd-person-singular', 
54                         'Verb, present tense, 3rd person singular'), 
55                 'WDT': ('wh-determiner', 'Wh-determiner'), 
56                 'WP': ('wh-pronoun', 'Wh-pronoun'), 
57                 'WP$': ('wh-pronoun-possessive', 'Wh-pronoun, possessive'), 
58                 'WRB': ('wh-adverb', 'Wh-adverb'), 
59                 '``': ('opening-quotation-mark', 'Opening quotation mark'), 
60  } 
61