#64 · Primary category: NLP Tools & Text Processing

sense2vec

gensim gensim-word2vec machine-learning natural-language-processing nlp python sense2vec spacy word2vec

🦆 Contextually-keyed word vectors

Project last updated:03/27/26

GitHub Stars

1.7K

Forks

236

Contributors

20

License

MIT

Why we included this project

Most word embeddings give every sense of a word the same vector, which muddles meaning. sense2vec fixes this by keying vectors to part-of-speech tags and entity labels, so "duck" as a noun and "duck" as a verb land in separate parts of the space. It builds on the word2vec approach from Trask et al. (2015) and ships as a Python library that loads pretrained models, runs fast nearest-neighbor queries, and trains new vectors from raw text using a spaCy pipeline plus GloVe or Word2Vec. Because it plugs in as a spaCy pipeline component and its vectors are fully serializable, you can bundle sense-aware embeddings directly into existing NLP workflows and model packages.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category