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
Hello Sir,
I installed all the prerequisites. But when the run the code treetagger_python2.py I got the above error, though when I go through the actual file I could see the init method does take the parameter encoding
File "treetagger_python2.py", line 47, in main.TreeTagger
Failed example:
tt = TreeTagger(encoding='utf-8',language='english')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest main.TreeTagger[1]>", line 1, in
tt = TreeTagger(encoding='utf-8',language='english')
TypeError: init() got an unexpected keyword argument 'encoding'
The text was updated successfully, but these errors were encountered:
Hello Sir,
I installed all the prerequisites. But when the run the code treetagger_python2.py I got the above error, though when I go through the actual file I could see the init method does take the parameter encoding
File "treetagger_python2.py", line 47, in main.TreeTagger
Failed example:
tt = TreeTagger(encoding='utf-8',language='english')
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest main.TreeTagger[1]>", line 1, in
tt = TreeTagger(encoding='utf-8',language='english')
TypeError: init() got an unexpected keyword argument 'encoding'
The text was updated successfully, but these errors were encountered: