ZEE
ZEE

Reputation: 186

in spaCy, are 'en' and 'en_core_web' models different?

I was reading this article about spaCy, and the author mentioned en and en_core_web models. I went through some content on spaCy's site, but didn't seem to find explanation on the relationship between these two.

I have been using the en model from the installation python -m spacy download en, I know that there is a separate install for en_core_web.

So are these two models different? If so, how?

Upvotes: 2

Views: 1070

Answers (1)

dimid
dimid

Reputation: 7659

There are short names for models in spaCy, and en is simply a shortcut for en_core_web_sm, where sm stands for small, there are also md and lg, for a middle and a large one, respectively. You can find the full list of shortcuts here:

https://raw.githubusercontent.com/explosion/spacy-models/master/shortcuts-v2.json

Upvotes: 9

Related Questions