Package nltk_lite :: Package tag :: Module unigram
[show private | hide private]
[frames | no frames]

Module nltk_lite.tag.unigram

Classes and interfaces for tagging each token of a document with supplementary information, such as its part of speech or its WordNet synset tag. This task, which is known as tagging, is defined by the TagI interface.
Classes
Affix A unigram tagger that assign tags to tokens based on leading or trailing substrings (it is important to note that the substrings are not necessarily "true" morphological affixes).
Lookup A tagger that assigns tags to words based on a lookup table.
Regexp A tagger that assigns tags to words based on regular expressions.
Unigram A unigram stochastic tagger.

Function Summary
  demo()
A simple demonstration function for the Tagger classes.

Function Details

demo()

A simple demonstration function for the Tagger classes. It constructs a backoff tagger using a trigram tagger, bigram tagger unigram tagger and a default tagger. It trains and tests the tagger using the Brown corpus.

Generated by Epydoc 2.1 on Tue Sep 5 09:37:21 2006 http://epydoc.sf.net