Commit d7d7b581 by Long Duong

Modify according to the recent name change

parent e82cf0de
...@@ -24,7 +24,7 @@ class CRFTagger(TaggerI): ...@@ -24,7 +24,7 @@ class CRFTagger(TaggerI):
""" """
A module for POS tagging using CRFSuite https://pypi.python.org/pypi/python-crfsuite A module for POS tagging using CRFSuite https://pypi.python.org/pypi/python-crfsuite
>>> from nltk.tag.crfsuite import CRFTagger >>> from nltk.tag.crf import CRFTagger
>>> ct = CRFTagger() >>> ct = CRFTagger()
>>> train_data = [[('University','Noun'), ('is','Verb'), ('a','Det'), ('good','Adj'), ('place','Noun')], >>> train_data = [[('University','Noun'), ('is','Verb'), ('a','Det'), ('good','Adj'), ('place','Noun')],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment