Skip to content

Instantly share code, notes, and snippets.

@louismullie
Created February 5, 2012 08:00
Show Gist options
  • Save louismullie/1743913 to your computer and use it in GitHub Desktop.
Save louismullie/1743913 to your computer and use it in GitHub Desktop.
The Alignment Game - Tag Alignments For Five Treebanks
# ClawsC5 = 0
# Brown = 1
# Penn = 2
# Negra = 3
# Penn Chinese = 4
# "Simplified" Stanford French Tags = 5
[
'Adjective', ['AJ0', 'JJ', 'JJ', '', 'JJ', 'A'],
'Adjective', ['AJ0', 'JJ', 'JJ', '', 'JJ', 'ADJ'],
'Ajective, adverbial or predicative', ['', '', '', 'ADJD', '', 'ADJ'],
'Adjective, attribute', ['', '', '', 'ADJA', 'VA', 'ADJ'],
'Adjective, ordinal number', ['ORD', 'OD', 'JJ', '', 'OD', 'ADJ'],
'Adjective, comparative', ['AJC', 'JJR', 'JJR', 'KOKOM', '', 'ADJ'],
'Adjective, superlative', ['AJS', 'JJT', 'JJS', '', 'JJ', 'ADJ'],
'Adjective, superlative, semantically', ['AJ0', 'JJS', 'JJ', '', '', 'ADJ'],
'Adjective, cardinal number', ['CRD', 'CD', 'CD', 'CARD', 'CD', 'ADJ'],
'Adjective, cardinal number, one', ['PNI', 'CD', 'CD', 'CARD', 'CD', 'ADJ'],
'Adverb', ['AV0', 'RB', 'RB', 'ADV', 'AD', 'ADV'],
'Adverb, negative', ['XX0', '*', 'RB', 'PTKNEG', '', 'ADV'],
'Adverb, comparative', ['AV0', 'RBR', 'RBR', '', 'AD', 'ADV'],
'Adverb, superlative', ['AV0', 'RBT', 'RBS', '', 'AD', 'ADV'],
'Adverb, particle', ['AVP', 'RP', 'RP', '', '', 'ADV'],
'Adverb, question', ['AVQ', 'WRB', 'WRB', '', 'AD', 'ADV'],
'Adverb, degree & question', ['AVQ', 'WQL', 'WRB', '', 'ADV'],
'Adverb, degree', ['AV0', 'QL', 'RB', '', '', 'ADV'],
'Adverb, degree, postposed', ['AV0', 'QLP', 'RB', '', '', 'ADV'],
'Adverb, nominal', ['AV0', 'RN', 'RB', 'PROP', '', 'ADV'],
'Adverb, pronominal', ['', '', '', '', 'PROP', '', 'ADV'],
'Clitic', ['', '', 'POS', '', '', ''],
'Conjunction, coordination', ['CJC', 'CC', 'CC', 'KON', 'CC', 'COOD'],
'Conjunction, coordination, and', ['CJC', 'CC', 'CC', 'KON', 'CC', 'ET'],
'Conjunction, subordination', ['CJS', 'CS', 'IN', 'KOUS', 'CS', 'CONJ'],
'Conjunction, subordination with to and infinitive', ['', '', '', 'KOUI', '', ''],
'Conjunction, complementizer, that', ['CJT', 'CS', 'IN', '', '', 'C'],
'Determiner', ['DT0', 'DT', 'DT', '', 'DT', 'D'],
'Determiner', ['DT0', 'DT', 'DET', '', 'DT', 'D'],
'Determiner, pronoun', ['DT0', 'DTI', 'DT', '', '', 'D'],
'Determiner, pronoun, plural', ['DT0', 'DTS', 'DT', '', '', 'D'],
'Determiner, prequalifier', ['DT0', 'ABL', 'DT', '', '', 'D'],
'Determiner, prequantifier', ['DT0', 'ABN', 'PDT', '', 'DT', 'D'],
'Determiner, pronoun or double conjunction', ['DT0', 'ABX', 'PDT', '', '', 'D'],
'Determiner, pronoun or double conjunction', ['DT0', 'DTX', 'DT', '', '', 'D'],
'Determiner, article', ['AT0', 'AT', 'DT', 'ART', '', 'D'],
'Determiner, postdeterminer', ['DT0', 'AP', 'DT', '', '', 'D'],
'Determiner, possessive', ['DPS', 'PP$', 'PRP$', '', '', 'D'],
'Determiner, possessive, second', ['DPS', 'PPSS', 'PRPS', '', '', 'D'],
'Determiner, possessive, second', ['DPS', 'PP$$', 'PRP', '', '', 'D'],
'Determiner, possessive, second', ['DPS', 'PPSS', 'PRP', '', '', 'D'],
'Determiner, question', ['DTQ', 'WDT', 'WDT', '', 'DT', 'D'],
'Determiner, possessive & question', ['DTQ', 'WP$', 'WP$', '', '', 'D'],
'Determiner, possessive & question', ['DTQ', 'WPS', 'WPS', '', '', 'D'],
'Localizer', ['', '', '', '', 'LC'],
'Measure word', ['', '', '', '', 'M'],
'Noun, common', ['NN0', 'NN', 'NN', 'N', 'NN', 'NN'],
'Noun, singular', ['NN1', 'NN', 'NN', 'NN', 'NN', 'N'],
'Noun, plural', ['NN2', 'NNS', 'NNS', 'NN', 'NN', 'N'],
'Noun, proper, singular', ['NP0', 'NP', 'NNP', 'NE', 'NR', 'N'],
'Noun, proper, plural', ['NP0', 'NPS', 'NNPS', 'NE', 'NR', 'N'],
'Noun, adverbial', ['NN0', 'NR', 'NN', 'NE', '', 'N'],
'Noun, adverbial, plural', ['NN2', 'NRS', 'NNS', '', 'N'],
'Noun, temporal', ['', '', '', '', 'NT', 'N'],
'Noun, verbal', ['', '', '', '', 'NN', 'N'],
'Pronoun, nominal (indefinite)', ['PNI', 'PN', 'PRP', '', 'PN', 'CL'],
'Pronoun, personal, subject', ['PNP', 'PPSS', 'PRP', 'PPER'],
'Pronoun, personal, subject, 3SG', ['PNP', 'PPS', 'PRP', 'PPER'],
'Pronoun, personal, object', ['PNP', 'PPO', 'PRP', 'PPER'],
'Pronoun, reflexive', ['PNX', 'PPL', 'PRP', 'PRF'],
'Pronoun, reflexive, plural', ['PNX', 'PPLS', 'PRP', 'PRF'],
'Pronoun, question, subject', ['PNQ', 'WPS', 'WP', 'PWAV'],
'Pronoun, question, object', ['PNQ', 'WPO', 'WP', 'PWAV', 'PWAT'],
'Pronoun, existential there', ['EX0', 'EX', 'EX'],
'Pronoun, attributive demonstrative', ['', '', '', 'PDAT'],
'Prounoun, attributive indefinite without determiner', ['', '', '', 'PIAT'],
'Pronoun, attributive possessive', ['', '', '', 'PPOSAT', ''],
'Pronoun, substituting demonstrative', ['', '', '', 'PDS'],
'Pronoun, substituting possessive', ['', '', '', 'PPOSS', ''],
'Prounoun, substituting indefinite', ['', '', '', 'PIS'],
'Pronoun, attributive relative', ['', '', '', 'PRELAT', ''],
'Pronoun, substituting relative', ['', '', '', 'PRELS', ''],
'Pronoun, attributive interrogative', ['', '', '', 'PWAT'],
'Pronoun, adverbial interrogative', ['', '', '', 'PWAV'],
'Pronoun, substituting interrogative', ['', '', '', 'PWS'],
'Verb, main, finite', ['', '', '', 'VVFIN', '', 'V'],
'Verb, main, infinitive', ['', '', '', 'VVINF', '', 'V'],
'Verb, main, imperative', ['', '', '', 'VVIMP', '', 'V'],
'Verb, base present form (not infinitive)', ['VVB', 'VB', 'VBP', '', '', 'V'],
'Verb, infinitive', ['VVI', 'VB', 'VB', 'V', '', 'V'],
'Verb, past tense', ['VVD', 'VBD', 'VBD', '', '', 'V'],
'Verb, present participle', ['VVG', 'VBG', 'VBG', 'VAPP', '', 'V'],
'Verb, past/passive participle', ['VVN', 'VBN', 'VBN', 'VVPP', '', 'V'],
'Verb, present, 3SG, -s form', ['VVZ', 'VBZ', 'VBZ', '', '', 'V'],
'Verb, auxiliary', ['', '', '', 'VAFIN', '', 'V'],
'Verb, imperative', ['', '', '', 'VAIMP', '', 'V'],
'Verb, imperative infinitive', ['', '', '', 'VAINF', '', 'V'],
'Verb, auxiliary do, base', ['VDB', 'DO', 'VBP', '', '', 'V'],
'Verb, auxiliary do, infinitive', ['VDB', 'DO', 'VB', '', '', 'V'],
'Verb, auxiliary do, past', ['VDD', 'DOD', 'VBD', '', '', 'V'],
'Verb, auxiliary do, present participle', ['VDG', 'VBG', 'VBG', '', '', 'V'],
'Verb, auxiliary do, past participle', ['VDN', 'VBN', 'VBN', '', '', 'V'],
'Verb, auxiliary do, present 3SG', ['VDZ', 'DOZ', 'VBZ', '', '', 'V'],
'Verb, auxiliary have, base', ['VHB', 'HV', 'VBP', 'VA', '', 'V'],
'Verb, auxiliary have, infinitive', ['VHI', 'HV', 'VB', 'VAINF', '', 'V'],
'Verb, auxiliary have, past', ['VHD', 'HVD', 'VBD', 'VA', '', 'V'],
'Verb, auxiliary have, present participle', ['VHG', 'HVG', 'VBG', 'VA', '', 'V'],
'Verb, auxiliary have, past participle', ['VHN', 'HVN', 'VBN', 'VAPP', '', 'V'],
'Verb, auxiliary have, present 3SG', ['VHZ', 'HVZ', 'VBZ', 'VA', '', 'V'],
'Verb, auxiliary be, infinitive', ['VBI', 'BE', 'VB', '', '', 'V'],
'Verb, auxiliary be, past', ['VBD', 'BED', 'VBD', '', '', 'V'],
'Verb, auxiliary be, past, 3SG', ['VBD', 'BEDZ', 'VBD', '', '', 'V'],
'Verb, auxiliary be, present participle', ['VBG', 'BEG', 'VBG', '', '', 'V'],
'Verb, auxiliary be, past participle', ['VBN', 'BEN', 'VBN', '', '', 'V'],
'Verb, auxiliary be, present, 3SG', ['VBZ', 'BEZ', 'VBZ', '', '', 'V'],
'Verb, auxiliary be, present, 1SG', ['VBB', 'BEM', 'VBP', '', '', 'V'],
'Verb, auxiliary be, present', ['VBB', 'BER', 'VBP', '', '', 'V'],
'Verb, modal', ['VM0', 'MD', 'MD', 'VMFIN', 'VV', 'V'],
'Verb, modal', ['VM0', 'MD', 'MD', 'VMINF', 'VV', 'V'],
'Verb, modal, finite', ['', '', '', '', 'VMFIN', 'V'],
'Verb, modal, infinite', ['', '', '', '', 'VMINF', 'V'],
'Verb, modal, past participle', ['', '', '', '', 'VMPP', 'V'],
'Particle', ['', '', '', '', '', 'PRT'],
'Particle, with adverb', ['', '', '', 'PTKA', '', 'PRT'],
'Particle, answer', ['', '', '', 'PTKANT', '', 'PRT'],
'Particle, negation', ['', '', '', 'PTKNEG', '', 'PRT'],
'Particle, separated verb', ['', '', '', 'PTKVZ', '', 'PRT'],
'Particle, to as infinitive marker', ['TO0', 'TO', 'TO', 'PTKZU', '', 'PRT'],
'Preposition, comparative', ['', '', '', 'KOKOM', '', 'P'],
'Preposition, to', ['PRP', 'IN', 'TO', '', '', 'P'],
'Preposition', ['PRP', 'IN', 'IN', 'APPR', 'P', 'P'],
'Preposition, with aritcle', ['', '', '', 'APPART', '', 'P'],
'Preposition, of', ['PRF', 'IN', 'IN', '', '', 'P'],
'Possessive', ['POS', '$', 'POS'],
'Postposition', ['', '', '', 'APPO'],
'Circumposition, right', ['', '', '', 'APZR', ''],
'Interjection, onomatopoeia or other isolate', ['ITJ', 'UH', 'UH', 'ITJ', 'IJ'],
'Onomatopoeia', ['', '', '', '', 'ON'],
'Punctuation', ['', '', '', '', 'PU', 'PN'],
'Punctuation, sentence ender', ['PUN', '.', '.', '', '', 'PN'],
'Punctuation, sentence ender', ['PUN', '.', 'PP', '$.', '', 'PN'],
'Punctuation, semicolon', ['PUN', '.', '.', '', '', 'PN'],
'Puncutation, colon or ellipsis', ['PUN', ':', ':'],
'Punctuationm, comma', ['PUN', ',', ',', '$,'],
'Punctuation, dash', ['PUN', '-', '-'],
'Punctuation, dollar sign', ['PUN', '', '$'],
'Punctuation, left bracket', ['PUL', '(', '(', '$('],
'Punctuation, right bracket', ['PUR', ')', ')'],
'Punctuation, quotation mark, left', ['PUQ', '', '``'],
'Punctuation, quotation mark, right', ['PUQ', '', '"'],
'Word, truncated, left', ['', '', '', 'TRUNC'],
'Unknown, foreign words (not in lexicon)', ['UNZ', '(FW-)', 'FW', '', 'FW'],
'Symbol', ['', '', 'SYM', 'XY'],
'Symbol, alphabetical', ['ZZ0', '', ''],
'Symbol, list item', ['', '', 'LS'],
# Not sure about these tags from the Chinese PTB.
'Aspect marker', ['', '', '', '', 'AS'], # ?
'Ba-construction', ['', '', '', '', 'BA'], # ?
'In relative', ['', '', '', '', 'DEC'], # ?
'Associative', ['', '', '', '', 'DER'], # ?
'In V-de or V-de-R construct', ['', '', '', '', 'DER'], # ?
'For words ? ', ['', '', '', '', 'ETC'], # ?
'In long bei-construct', ['', '', '', '', 'LB'], # ?
'In short bei-construct', ['', '', '', '', 'SB'], # ?
'Sentence-nal particle', ['', '', '', '', 'SB'], # ?
'Particle, other', ['', '', '', '', 'MSP'], # ?
'Before VP', ['', '', '', '', 'DEV'], # ?
'Verb, ? as main verb', ['', '', '', '', 'VE'], # ?
'Verb, ????', ['', '', '', '', 'VC'] # ?
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment