News for hackers. Stuff that matters.
Re:Show HN: An experimental code search engine by jimijazz on Friday November 30, 2018 @08:07AM (#18568768)
This is fun. Why have you restricted the search to just Identifiers, Variables and Functions? Does this mean that text found in a comment block would not be a match?

I'm already devising how you could incorporate a bag of words algorithm plus an embedding to segment/find similar items.

Re:Show HN: An experimental code search engine by sp1982 on Saturday December 01, 2018 @08:42PM (#18580241)
>> Why have you restricted the search to just Identifiers, Variables and Functions? Does this mean that text found in a comment block would not be a match?

Yes, by default, it matches any but if you specify a filter, you can restrict on available language features.