-
Notifications
You must be signed in to change notification settings - Fork 22
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
Problem while running mrakun/__init__.py -- lemmatizer = self.hyperparameters['lemmatizer'] KeyError: 'lemmatizer' #2
Comments
Hello, thanks for the issue. Have you tried with the examples in the README first? If the lemmatizer is giving you problems, you can simply comment that line, it is not at all necessary for the algorithm's function. Could you please provide the full example of what you tried to run? |
The above is a screenshot of the code I tried to run. (Basically the example provided in the README). Also, the problem exists in the lib/python3.7/site-packages/mrakun/init.py, which means it probably is an issue with the initial setup of Rakun. Is it still okay to remove the entire lemmatizer bit? |
Hey, yes, it is perfectly fine. Both stemming, as well as lemmatization are
optional -> RaKUn should work smoothly without too.
Yesterday I was updating the repo, its possible you used some of the
intermediary commits, which perhaps did not work as planned. Could you go
through the README again (I've updated it). Also. The first thing to try
are probably examples in the ./examples folder. Especially the Brexit
example is independent of paths, if that is the problem.
…On Mon, Sep 30, 2019 at 8:21 PM aayushisanghi ***@***.***> wrote:
[image: Screenshot 2019-09-30 at 11 47 20 PM]
<https://user-images.githubusercontent.com/49807208/65904787-c772a380-e3dc-11e9-807b-5a56a2f995c1.png>
The above is a screenshot of the code I tried to run. (Basically the
example provided in the README). Also, the problem exists in the
lib/python3.7/site-packages/mrakun/*init*.py, which means it probably is
an issue with the initial setup of Rakun. Is it still okay to remove the
entire lemmatizer bit?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2?email_source=notifications&email_token=ACMSERAOOIB7FVWFDKA3AETQMI7Q5A5CNFSM4I36PF3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD76TFYY#issuecomment-536687331>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACMSERBWW7X6PY2UXMJF6BTQMI7Q5ANCNFSM4I36PF3A>
.
|
Another thing, could you try to install via python3 setup.py install directly? We will update the pip version soon though. |
The pip version is online and seems to work fine with this example. Please, report if that is the case with your example also. |
I tried to run the sample code provided, but am getting the above error. Unsure how I could debug it, please do help!
The text was updated successfully, but these errors were encountered: