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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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