HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
arunsupe
semantic-grep
Go2024–2024
arunsupe / semantic-grep

semantic-grep

grep for words with similar meaning to the query

2Distinct people
4Mentions
0Explicit recommenders
1.3KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

grep for words with similar meaning to the query

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by 3-hour interval4 dated mentions

Observed mentions: 2024-07-26 13:37:43 UTC to 2024-07-28 07:05:17 UTC.

0122024-07-26 12:00:00 UTC to 2024-07-26 15:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 commentsJul 26, 12:002024-07-26 15:00:00 UTC to 2024-07-26 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-26 18:00:00 UTC to 2024-07-26 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-26 21:00:00 UTC to 2024-07-27 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-27 00:00:00 UTC to 2024-07-27 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-27 03:00:00 UTC to 2024-07-27 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-27 06:00:00 UTC to 2024-07-27 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-27 09:00:00 UTC to 2024-07-27 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJul 27, 09:002024-07-27 12:00:00 UTC to 2024-07-27 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-27 15:00:00 UTC to 2024-07-27 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-27 18:00:00 UTC to 2024-07-27 21:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2024-07-27 21:00:00 UTC to 2024-07-28 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-28 00:00:00 UTC to 2024-07-28 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-28 03:00:00 UTC to 2024-07-28 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-28 06:00:00 UTC to 2024-07-28 09:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJul 28, 06:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jul 26, 12:002024-07-26 12:00:00 UTC2024-07-26 15:00:00 UTC211
Jul 26, 15:002024-07-26 15:00:00 UTC2024-07-26 18:00:00 UTC000
Jul 26, 18:002024-07-26 18:00:00 UTC2024-07-26 21:00:00 UTC000
Jul 26, 21:002024-07-26 21:00:00 UTC2024-07-27 00:00:00 UTC000
Jul 27, 00:002024-07-27 00:00:00 UTC2024-07-27 03:00:00 UTC000
Jul 27, 03:002024-07-27 03:00:00 UTC2024-07-27 06:00:00 UTC000
Jul 27, 06:002024-07-27 06:00:00 UTC2024-07-27 09:00:00 UTC000
Jul 27, 09:002024-07-27 09:00:00 UTC2024-07-27 12:00:00 UTC000
Jul 27, 12:002024-07-27 12:00:00 UTC2024-07-27 15:00:00 UTC000
Jul 27, 15:002024-07-27 15:00:00 UTC2024-07-27 18:00:00 UTC000
Jul 27, 18:002024-07-27 18:00:00 UTC2024-07-27 21:00:00 UTC110
Jul 27, 21:002024-07-27 21:00:00 UTC2024-07-28 00:00:00 UTC000
Jul 28, 00:002024-07-28 00:00:00 UTC2024-07-28 03:00:00 UTC000
Jul 28, 03:002024-07-28 03:00:00 UTC2024-07-28 06:00:00 UTC000
Jul 28, 06:002024-07-28 06:00:00 UTC2024-07-28 09:00:00 UTC101

What Hacker News says

4 sources
Some small tips from superficially reading the code: https://github.com/arunsupe/semantic-grep/blob/b7dcc82a7cbab... You can read the vector all at once. See e.g.: https://github.com/danieldk/go2vec/blob/ee0e8720a8f518315f35... --- https://github.com/arunsupe/semantic-grep/blob/b7dcc82a7cbab... You can compute the similarity much faster by using BLAS. Good BLAS libraries have SIMD-optimized implementations. Or if you do multiple tokens as once, you can do a matrix-vector multiplication (sgemv), which will be even faster in many implementations. Alternatively, there is probably also a SIMD implementation in Go using assembly (it has been 7 years since I looked at anything in the Go ecosystem). You could also normalize the vectors while loading. Then during runtime the cosine similarity is just the dot product of the vectors (whether it pay
Read the rest
s off depends on the size of your embedding matrix and the size of the haystack that you are going to search).
In Show HN: Semantic Grep – A Word2Vec-powered search tool
I've built a command-line tool called semantic-grep for searching free-text English content using natural language queries. Some key features: Uses word2vec embeddings to find semantically similar text Written in Go, using only the standard library Familiar CLI UI Can process data streams piped as input Finds similarity in a sliding window of text It's designed for developers and researchers who need to search large text datasets more intelligently than simple keyword matching. The tool is still in early stages, so I'd appreciate any feedback or feature suggestions. GitHub: https://github.com/arunsupe/semantic-grep
In Semantic-grep – NLP-powered text search in Go

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.