Search⌘ K
AI Features

Using spaCy's Pre-trained Vectors

Explore how to use spaCy's pretrained word vectors to calculate semantic similarity for words, spans, and documents. Understand vector access, vocabulary coverage, and handling out-of-vocabulary tokens to enhance NLP applications.

We'll cover the following...

We installed a medium-sized English spaCy language model previously so that we can directly use word vectors. Word vectors are part of many spaCy language models. For instance, the en_core_web_md model ships with 300-dimensional vectors for 20,000 words, while the en_core_web_lg model ships with 300-dimensional vectors with a 685,000 word vocabulary. ...