You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pycrfsuite is the same name as a function used in NLTK, so anytime NLTK is imported, its submodules import a module called crf.py which imports a module called pycrfsuite. Because there is a local file called pycrfsuite.py, NLTK imports the local copy which is buggy. As a result, anytime I try to run a program that imports nltk, it runs a statement inside the local pycrfsuite, which prints an error message.
Please change its name to something else to avoid such an issue. Thanks.
The text was updated successfully, but these errors were encountered:
pycrfsuite is the same name as a function used in NLTK, so anytime NLTK is imported, its submodules import a module called crf.py which imports a module called pycrfsuite. Because there is a local file called pycrfsuite.py, NLTK imports the local copy which is buggy. As a result, anytime I try to run a program that imports nltk, it runs a statement inside the local pycrfsuite, which prints an error message.
Please change its name to something else to avoid such an issue. Thanks.
The text was updated successfully, but these errors were encountered: