sense2vec (Trask et. al, 2015) is a nice twist on word2vec that lets you learn more interesting and detailed word vectors. This library is a simple Python implementation for loading, querying and training sense2vec models. For more details, check out our blog post. To explore the semantic similarities across all Reddit comments of 2015 and 2019, see the interactive demo.

Features

  • Query vectors for multi-word phrases based on part-of-speech tags and entity labels
  • spaCy pipeline component and extension attributes
  • Fully serializable so you can easily ship your sense2vec vectors with your spaCy model packages
  • Optional caching of nearest neighbors for super fast "most similar" queries
  • Train your own vectors using a pretrained spaCy model, raw text and GloVe or Word2Vec via fastText (details)
  • Prodigy annotation recipes for evaluating models, creating lists of similar multi-word phrases and converting them to match patterns, e.g. for rule-based NER or to bootstrap NER annotation

Project Samples

Project Activity

See All Activity >

Categories

Machine Learning

License

MIT License

Follow sense2vec

sense2vec Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of sense2vec!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python Machine Learning Software

Registered

2024-08-16