Questions tagged [brill-tagger]

2 questions
1
vote
0 answers

How to modify rules in Brill tagger, NLTK

The brill tagger in nltk, has errors when tagging the instruction data. For example: "heat until brown", would be tagged as "[[('heat', 'NN'), ('until', 'IN'), ('brown', 'JJ')]]". Most of the verbs in the instruction dataset would be tagged as…
Y Chen
  • 11
  • 1
1
vote
2 answers

NLTK saving trained Brill's model

I am training a Brill's POS tagger using the py-crfsuite as provided in NLTK. However when I try to save a trained model, I get the following error: crf_tagger = CRFTagger() crf_tagger.train(train_sents, 'model_trained.crf.tagger') templates =…