nltk.tag.BrillTaggerTrainer

class nltk.tag.BrillTaggerTrainer(initial_tagger, templates, trace=0, deterministic=None, ruleformat='str')[source]

A trainer for tbl taggers.

Methods

__init__(initial_tagger, templates[, trace, ...]) Construct a Brill tagger from a baseline tagger and a
train(train_sents[, max_rules, min_score, ...]) Trains the Brill tagger on the corpus train_sents, producing at most max_rules transformations, each of which reduces the net number of errors in the corpus by at least min_score, and each of which has accuracy not lower than min_acc.