-
Notifications
You must be signed in to change notification settings - Fork 128
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
Impossible to install French package #124
Comments
Actually the same happen for English:
|
I also tried with the git repository version:
|
It seems my previous install actually didn't used the git repository version, and indeed server changed in the repository, however I'm astonished
|
So now here is how to actually use the repository version
And then in irb, the following will work: Treat::Core::Installer.install But any attempt to install a French package will fail, because there is indeed no french.yaml accessible: Treat::Core::Installer.install 'french' |
see #115 |
So the French package isn't available on the server, but it should be possible to bypass the problem by directly the copying the relevant file to the subdirectory You then need a french.yaml. It looks like the "Punt"s file are based on ".pickle" files, as used in NLTK for example. I need more investigation to find this files, but here are there JSON equivalent: harrisj/punkt@7c64ff0#diff-4bfc17cd24c1afdec0c3ea5f6513a402 |
Hey @psychoslave, could you finally make it work? |
Hi, I'm running Fedora 25, and I'm trying to use treat. The gem itself was installed seamlessly, and I then wanted to install the French package (
gem install treat
, with gem 2.5.1).A first error I had was about
stanford-core-nlp
which wasn't buildable becauseJAVA_HOME
wasn't set. A simpleexport JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk
resolved the problem.However I meet a more important problem with the download of models for the Punkt segmenter for the French language. Here is a sample of what I did and its result:
Is my gem version out of sync with the repository structure it's trying to fetch from? Does it result from a deprecation decision? Should I move to a newer version of treat through the github repository?
The text was updated successfully, but these errors were encountered: