Code Detection API Detect, label, format and enrich the code in your app or in your data pipeline
Use Cases
- Detect, format and present code in your app as code, not as text
- Improve search results in your app by tagging and indexing snippets as code rather than text
- Scrub data pipelines to identify code distinctly from text
- Label and enrich large data sets with the most likely code language and other meta-info
Key features
Introducing Technical Language Processing APIs Software is eating the world. And generating massive amounts of code. Like natural language, technical language is mostly unstructured and needs to be processed, enriched and labeled. Code Detection is the first in a class of Technical Language Processing APIs powered by Runtime.
Identify code vs text Determine whether a given text string includes a code snippet using Runtime's machine learning models
Extract insights from snippets Detect the language of any snippets in your text string
Enrich and transform snippets Return a formatted, syntax highlighted version of the snippet, truncate results and more