-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NLTK was unable to find the TreeTagger bin! #10
Comments
Hello, I think the easiest way is to change in TreeTagger Python source code the search path to the directory of the TreeTagger. If this does not work, we will find another solution. Has the installation and the test works, as described in the URL TreeTagger? Regards |
Hello miotto, Thank you very much for the quick answer! Unfortunately, changing the source code didn't make it work; I still get the same error message. TreeTagger works well as you can see below:
Have a good day! |
Hello, Sorry that I answer so late. I checked again, it was my fault.
Please try it again. Regards |
I had the same issue and you're last posting worked, but raised a different Error. I opened a new issue for this here: #11 |
Hi,
But for me, I didn't execute the install-tagger.sh because I didn't see the interest. But after looking into it, the script is doing 2 things:
So if you didn't execute the install-tagger.sh, run it ! For me, it works directly after executing it ! Best |
Thanks you for the response. |
wrong fixed |
Unfortunately, I am having the same issues as above e.g. 'NLTK was unable to find the TreeTagger bin!' I checked all the solutions above, but to no avail. AttributeError Traceback (most recent call last) /Users/brentdial/Marvel/Ng/Project_Cielo/TreeTagger/treetagger-python/treetagger.py in tag(self, sentences) AttributeError: 'TreeTagger' object has no attribute '_treetagger_bin' Any other ideas? For instance, what is the what argument goes into TreeTagger() if the TREETAGGER_HOME is set? Do you still put the path? |
Hello,
I am trying to use treetagger-python and I don't seem to have it working properly.
I downloaded TreeTagger and installed it in ~/treetagger and therefore set TREETAGGER_HOME to this path in my .bashrc file.
However, when I want to use it, I get the following error:
I think it comes from a TREETAGGER_HOME which is misconfigured, but I actually have no clue of what could be the correct path.
I also may be wrong and the error could come from somewhere else.
Could you please enlighten me?
Thanks a lot!
The text was updated successfully, but these errors were encountered: