ChatterBot icon indicating copy to clipboard operation
ChatterBot copied to clipboard

Fixed errors related with spacy models not found

Open Diego448 opened this issue 4 years ago • 0 comments

For the most common issues related with the error "osError: [E050] Can't find model 'en'" I created this pull request which has an updated version on the languages module with a new field called SPACY_MODEL which contains the new Spacy model names and will be used for both tagging and comparisons modules instead of the ISO_639_1 field only if available.

Important notes regarding this pull request:

  • SPACY_MODEL field of language module only contains the small variant of the related language not the large and more accurate one, which is smaller, faster and less precise.
  • Only supported languages (those which already have models for them in the official Spacy page) have the SPACY_MODEL field, not supported ones will have no such field

Diego448 avatar Nov 24 '21 23:11 Diego448