nltk.tag.ContextTagger.__init__

ContextTagger.__init__(context_to_tag, backoff=None)[source]
Parameters:
  • context_to_tag – A dictionary mapping contexts to tags.
  • backoff – The backoff tagger that should be used for this tagger.