jbesomi / texthero

Text preprocessing, representation and visualization from zero to hero.
https://texthero.org
MIT License
2.89k stars 239 forks source link

Import error #223

Open RAravindDS opened 2 years ago

RAravindDS commented 2 years ago

KeyError: "[E002] Can't find factory for 'tok2vec'. This usually happens when spaCy calls nlp.create_pipe with a component name that's not built in - for example, when constructing the pipeline from a model's meta.json. If you're using a custom component, you can write to Language.factories['tok2vec'] or remove it from the model meta and add it via nlp.add_pipe instead.

Tried in my virtual environment and kaggle, it doesn't working.

image

ashwineepandey commented 2 years ago

@RAravindDS Have you had any luck on this issue? I have encountered the same. Tried in a new Colab environment and got the same error.

RAravindDS commented 2 years ago

@DaytaSigntist Hey, Try creating pd.series before passing to it.