NLP | Brill Tagger
- BrillTagger class is a transformation-based tagger. It is not a subclass of SequentialBackoffTagger.
- Moreover, it uses a series of rules to correct the results of an initial tagger.
- These rules it follows are scored based. This score is equal to the no. of errors they correct minus the no. of new errors they produce.
Code #1 : Training a BrillTagger class
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning - Basic Level Course
Code #2 : Let’s use the trained BrillTagger
Accuracy of Initial Tag : 0.8806820634578028
Code #3 :
Accuracy of brill_tag : 0.8827541549751781