TreeTagger

From Christoph's Personal Wiki
Revision as of 03:33, 28 May 2007 by Christoph (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The TreeTagger is a tool for annotating text with part-of-speech and lemma information which has been developed within the TC project at the Institute for Computational Linguistics of the University of Stuttgart. The TreeTagger has been successfully used to tag German, English, French, Italian, Dutch, Spanish, Bulgarian, Russian, Greek, Portuguese, and old French texts and is easily adaptable to other languages if a lexicon and a manually tagged training corpus are available.

Example Usage

% echo 'The three big red dogs.' | cmd/tree-tagger-english
          reading parameters ...
          tagging ...
  The     DT      the
  three   CD      three
  big     JJ      big
  red     JJ      red
  dogs    NNS     dog
  .       SENT    .
           finished.

Part-of-speech tags used

. sentence closer (. ; ? *)

  • ( left paren
  • ) right paren
  • * not, n't
  • -- dash
  • , comma
  •  : colon
  • ABL pre-qualifier (quite, rather)
  • ABN pre-quantifier (half, all)
  • ABX pre-quantifier (both)
  • AP post-determiner (many, several, next )
  • AT article (a, the, no)
  • BE be
  • BED were
  • BEDZ was
  • BEG being
  • BEM am
  • BEN been
  • BER are, art
  • BEZ is
  • CC coordinating conjunction (and, or)
  • CD cardinal numberal (one, two, 2, etc.)
  • CS subordinating conjunction (if, although)
  • DO do
  • DOD did
  • DOZ does
  • DT singular determiner/quantifier (this, that)
  • DTI singular or plural determiner/quantifier (some, any)
  • DTS plural determiner (these, those)
  • DTX determiner/double conjunction (either)
  • EX existential there
  • FW foreign word (hypenated before regular tag)
  • HV have
  • HVD had (past tense)
  • HVG having
  • HVN had (past participle)
  • IN preposition
  • JJ adjective
  • JJR comparative adjective
  • JJS semantically superlative adjective (chief,top)
  • JJT morphologically superlative adjective (biggest)
  • MD modal auxiliary (can, should, will)
  • NC cited word (hyphenated after regular tag)
  • NN singular or mass noun
  • NN$ possessive singular noun
  • NNS plural noun
  • NNS$ possessive plural noun
  • NP proper noun or part of name phrase
  • NP$ possessive proper noun
  • NPS$ possessive plural proper noun
  • NR adverbial noun (home, today, west)
  • OD ordinal numeral (first, 2nd)
  • PN nominal pronoun (everybody, nothing)
  • PN$ possessive nominal pronoun
  • PP$ possessive personal pronoun (my, our)
  • PP$$ second (nominal) possessive prounon (mine, ours)
  • PPL singular reflexive/intensive personal pronoun (myself)
  • PPLS plural reflexive/intensive personal pronoun (ourselves)
  • PPO objective personal pronoun (me, him, it, them)
  • PPS 3rd. singular nominative pronoun (he, she, it, one)
  • PPSS other nominative personal pronoun (I, we, they, you)
  • QL qualifier (very, fairly)
  • QLP post-qualifer (enough, indeed)
  • RB adverb
  • RBR comparative adverb
  • RBT superlative adverb
  • RN nominal adverb (here, then, indoors)
  • RP adverb/particle (about, off, up)
  • TO infinitive marker to
  • UH interjection, exclamation
  • VB verb, base form
  • VBD verb, past tense
  • VBG verb, present participle/gerund
  • VBN verb, past participle
  • VBZ verb, 3rd. singular present
  • WDT wh- determiner (what, which)
  • WP$ possessive wh- pronoun (whose)
  • WPO objective wh- pronoun (whom, which, that)
  • WPS nominative wh- pronoun (who, which, that)
  • WQL wh- qualifier (how)
  • WRB wh- adverb (how, where, when)

See also

External links