# arunsupe/semantic-grep

grep for words with similar meaning to the query

Repository: https://github.com/arunsupe/semantic-grep
Canonical: https://ross.abutalabs.com/products/semantic-grep
Language: Go
License: MIT
License Family: permissive
Last push: 2024-08-19T05:50:44+00:00

## Health v2 (maintenance only)
Score: 14/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 54
- inputs: {"age_days": 768, "days_push": 744, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1246, forks 29 (observed 2026-08-28T04:04:07.152772+00:00)

## What it is
w2vgrep is a grep-like command-line tool that finds words semantically similar to a query using word2vec embeddings, with familiar grep options like context lines, line numbers, and similarity thresholds. It supports multiple languages and reads from files or stdin.

## Use cases
- search text for words with similar meaning instead of exact matches
- grep a document for synonyms of a concept like 'death'
- pipe text from curl or stdin and find semantically related terms
- search multilingual text with word embeddings from the terminal
- find paraphrased terminology in large text files

## When to choose
- you want grep-style UX but need semantic rather than literal matching
- you work with plain text corpora and want lightweight local semantic search without an LLM
- you need a fast, offline tool driven by word2vec embeddings

## When to avoid
- you need full semantic search over documents or passages rather than individual words
- you want transformer-based embeddings or contextual understanding
- you need to index and query large document collections with ranking

## Facets
- artifact type: cli-tool
- maturity: active
- function: search-engine, nlp, cli
- domain: developer-tools
- platform: cli, go
- tags: grep, word2vec, semantic-search, text-processing, word-embeddings, command-line, natural-language-processing, linux, macos

## Member repositories
- arunsupe/semantic-grep (main) score 14

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:07.152772+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:08:02.257252+00:00, confidence not recorded.
  - readme: https://github.com/arunsupe/semantic-grep (fetched 2026-08-28T04:04:07.152772+00:00, sha 5c0ab71a8cb4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
