When searching for useful code snippets, it helps to reformulate search queries in terms of code classes or methods. For example, a query: “How to download a file by URL in Java”, can be expanded to include “InputStream, Vector, DataOutputStream”. These terms are extracted from a pre-indexed storage that is built using example Java codes.

Code search are formulated as a natural-language query, but actual code may contain esoteric terms and phrases which can be difficult to retrieve. This tool translates and expands natural-language queries to a format that can be fed to a code search system for more relevant search results. See details.