Semantic Grep – A Word2Vec-powered search tool

Summary: sgrep is a command-line tool that uses word embeddings for semantic searches, allowing users to find semantically similar matches beyond simple string matching. Users can search for words similar to a query in a text, with options to display context, line numbers, and similarity scores. Features include configurable similarity thresholds, context display, color-coded output, and support for reading from files or standard input. Installation can be done through binary release or source code. Users can configure sgrep using a JSON file and download a Word2Vec model for use. Contributions are welcome, and the project is licensed under the MIT License.

https://github.com/arunsupe/semantic-grep

To top