CodeSnippetSearch

CodeSnippetSearch

Query programming languages using natural language!

1 follower

CodeSnippetSearch allows you to search through code snippets using natural language. Currently, Python, Java, Go, PHP, JS, and Ruby programming languages are supported.
CodeSnippetSearch gallery image
CodeSnippetSearch gallery image
Launch Team
Intercom
Intercom
Startups get 90% off Intercom + 1 year of Fin AI Agent free
Promoted

What do you think? …

Rok Novosel
Hey, makers. I've been working on a small project called CodeSnippetSearch.net that I would like to share with you. It allows you to search through code snippets using natural language. Currently, Python, Java, Go, Php, Javascript, and Ruby programming languages are supported. I think it's especially useful for new programmers because it allows you to search through code in a "Google-like" fashion. It also allows you to find similar code snippets to the ones found in search results. This enables you to explore different possible solutions. As with any cool project nowadays, CodeSnippetSearch is powered by neural networks (six in fact - one for each programming language). The project is open-sourced and you can read about the implementation details here: https://github.com/novoselrok/co... This project started as a reimplementation of the models in the CodeSearchNet challenge by GitHub (https://github.com/github/CodeSe...). I have reused their data and reimplemented the neural bag-of-words model in Keras. I didn't expect any improvements with my reimplementation, but I did manage to beat the baseline models by a little bit. The search is still a bit of a hit-and-miss and I'm continually trying to improve it. If the match rating for the top result is below 50% it will most likely be irrelevant. I hope this is a valuable resource and if you have any questions, leave a comment.
Supun Wimalasena
@rok_novosel1 I think the server is down. Can you fix that?
Rok Novosel
@supun_kavinda Sorry about that, it should be fixed now. My server got hit with an unexpected traffic (which I'm very happy about :) )