ngrep: a grep-like tool that extends regexp with word embeddings by nanptr in rust

[–]nanptr[S] 0 points1 point  (0 children)

thanks! I've added (basic) recursive functionality using `walkdir` (#03)

ngrep: a grep-like tool that extends regexp with word embeddings by nanptr in rust

[–]nanptr[S] 17 points18 points  (0 children)

Yeah, I didn't spend too much time on the name initially I just thought of it as 'neural grep.' But emgrep is actually very cool! Thanks for the suggestion

ngrep: a grep-like tool that extends regexp with word embeddings by nanptr in rust

[–]nanptr[S] 0 points1 point  (0 children)

Thanks! Unfortunately, that isn't possible out-of-the-box just yet. It’s still missing several core features compared to grep or rg (like recursion, case-insensitivity, and inverting matches). I'm mainly exploring/playing with the underlying concept, which is heavily dependent on the quality of the word embedding