class_docstr: Brill's transformational rule-based tagger.  Brill taggers use an
  initial tagger (such as ``tag.DefaultTagger``) to assign an initial
  tag sequence to a text; and then apply an ordered list of
  transformational rules to correct the tags of individual tokens.
  These transformation rules are specified by the ``TagRule``
  interface.
  
  Brill taggers can be created directly, from an initial tagger and
  a list of transformational rules; but more often, Brill taggers
  are created by learning rules from a training corpus, using one
  of the TaggerTrainers available.
docstr: :param initial_tagger: The initial tagger
  :type initial_tagger: TaggerI
  
  :param rules: An ordered list of transformation rules that
      should be used to correct the initial tagging.
  :type rules: list(TagRule)
  
  :param training_stats: A dictionary of statistics collected
      during training, for possible later use
  :type training_stats: dict
docstr_tok: [":","param","initial_tagger",":","The","initial","tagger",":","type","initial_tagger",":","TaggerI",":","param","rules",":","An","ordered","list","of","transformation","rules","that","should","be","used","to","correct","the","initial","tagging",".",":","type","rules",":","list","(","TagRule",")",":","param","training_stats",":","A","dictionary","of","statistics","collected","during","training",",","for","possible","later","use",":","type","training_stats",":","dict"]
code: def __init__(self, initial_tagger, rules, training_stats=None):
      """
      :param initial_tagger: The initial tagger
      :type initial_tagger: TaggerI
  
      :param rules: An ordered list of transformation rules that
          should be used to correct the initial tagging.
      :type rules: list(TagRule)
  
      :param training_stats: A dictionary of statistics collected
          during training, for possible later use
      :type training_stats: dict
  
      """
      self._initial_tagger = initial_tagger
      self._rules = tuple(rules)
      self._training_stats = training_stats
  
imports: from collections import Counter, defaultdict
  from nltk import jsontags
  from nltk.tag import TaggerI
  from nltk.tbl import Feature, Template
label_desc: Use image node_id 1 to create a new BrillTagger object from inherited base classes: TaggerI with example: obj = BrillTagger(initial_tagger, rules, training_stats)