Commit fd9a8d38 by Steven Bird

only fail importing crfsuite at runtime

parent 5acab378
...@@ -14,7 +14,11 @@ from __future__ import unicode_literals ...@@ -14,7 +14,11 @@ from __future__ import unicode_literals
import unicodedata import unicodedata
import re import re
from nltk.tag.api import TaggerI from nltk.tag.api import TaggerI
import pycrfsuite
try:
import pycrfsuite
else:
pass
class CRFTagger(TaggerI): class CRFTagger(TaggerI):
""" """
......
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