MaartenGr / KeyBERT

Minimal keyword extraction with BERT
https://MaartenGr.github.io/KeyBERT/
MIT License
3.31k stars 337 forks source link

Unable to import keyBERT #147

Closed MarurSrikanta closed 1 year ago

MarurSrikanta commented 1 year ago

I tried in three different environments and am unable to import keyBERT. Below is the error:

image
MarurSrikanta commented 1 year ago

I have tried the installation in Google Colab, SageMaker and jupyter notebook in my local machine.

MaartenGr commented 1 year ago

You should capitalize the K in KeyBERT. In other words, the following is correct:

from keybert import KeyBERT

and not

from keybert import keyBERT
MarurSrikanta commented 1 year ago

Thank you, my issue is resolved now. That looks like a fairly simple mistake now :)