Skip to content
Discussion options

You must be logged in to vote

Hi! I've moved your question to the discussion board 🙂

The problem here seems to be that Chatterbot hard-codes spacy.load("en") in its code, specifically in chatterbot/tagging.py. In spaCy v3, loading a model from a shortcut like en is deprecated, because this usage is misleading: there are many different en or es models, so it should always be clear which package is being loaded. For example, en_core_web_sm or es_core_web_sm.

So this is something that needs to be updated by Chatterbot in the future to support the new spaCy v3.

In the meantime, you can install spaCy v2 that still supports the shortcuts:

pip install spacy==2.3.5

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@intercontoni
Comment options

Answer selected by ines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upgrade Issues related to upgrading spaCy v2 spaCy v2.x
2 participants
Converted from issue

This discussion was converted from issue #7020 on February 11, 2021 00:13.