Skip to content
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

Closed
aayushisanghi opened this issue Sep 30, 2019 · 5 comments

Comments

@aayushisanghi
Copy link

aayushisanghi commented Sep 30, 2019

I tried to run the sample code provided, but am getting the above error. Unsure how I could debug it, please do help!

@SkBlaz
Copy link
Owner

SkBlaz commented Sep 30, 2019

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?

@aayushisanghi
Copy link
Author

Screenshot 2019-09-30 at 11 47 20 PM

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?

@SkBlaz
Copy link
Owner

SkBlaz commented Oct 1, 2019 via email

@SkBlaz
Copy link
Owner

SkBlaz commented Oct 1, 2019

Another thing, could you try to install via python3 setup.py install directly? We will update the pip version soon though.

@SkBlaz
Copy link
Owner

SkBlaz commented Oct 1, 2019

The pip version is online and seems to work fine with this example. Please, report if that is the case with your example also.

@SkBlaz SkBlaz closed this as completed Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants