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

fix bug in tagging.py with spacy en model #2230

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Omarzintan
Copy link

This PR fixes a bug in the chatterbot/tagging.py file

Implementation

  • A description of the bug and solution can be found in this stack overflow thread
    • Basically one of the lines in tagging.py is updated to cater for when chatterbot tries to load a model titled en. It ensures that the correct naming of the English model is used, i.e. en_core_web_sm

Copy link

@NoMoreDreams NoMoreDreams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably fixes only the en model

Copy link

@pretty-girl123 pretty-girl123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pretty-girl123
Copy link

hi everyone how are you doing?

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

Successfully merging this pull request may close these issues.

None yet

3 participants