miotto / treetagger-python

A Python module for interfacing with the Treetagger by Helmut Schmid.
Other
77 stars 29 forks source link

AttributeError: 'TreeTagger' object has no attribute '_treetagger_bin' #14

Open royland452 opened 7 years ago

royland452 commented 7 years ago

Hello: I'm trying to run the example:

from treetagger import TreeTagger tt = TreeTagger(language='english') tt.tag('What is the airspeed of an unladen swallow?')

and i get the following error:

AttributeError: 'TreeTagger' object has no attribute '_treetagger_bin'

I can use some help. Thanks

CiPhantom commented 6 years ago

I tried and I tried again, I have the same mistake as @royland452 !! Help please :/

miotto commented 6 years ago

Sorry for the late reply.

I have reworked the treetagger.py program, please try the new version. In the README.rst file you can see which software versions and operating systems it has been tested with. Which software versions and operating system do you use? Please also check if Helmut Schmid's Treetagger program is installed correctly.