4 dépôts
Libraries designed to identify the programming language of source code files.
Distinct from Language Detection Tools: Focuses on source code identification, distinct from general text language detection.
Explore 4 awesome GitHub repositories matching artificial intelligence & ml · Source Code Language Detectors. Refine with filters or upvote what's useful.
highlight.js is a JavaScript syntax highlighter and client-side code formatter that transforms plain text source code into highlighted HTML for web display. It provides syntax highlighting across a wide variety of programming languages. The library includes an automatic language detector that identifies the programming language of a code block to apply the correct highlighting rules without manual tagging. It is designed for web worker compatibility, allowing the highlighting process to run in background threads to prevent the browser interface from freezing during the processing of large vol
Acts as a specialized library designed to identify the programming language of source code blocks.
Linguist is a programming language detection library designed to identify the languages used within source code files and software repositories. It functions as a repository metadata classifier, providing the automated analysis necessary to generate language statistics and insights for version control platforms. The tool employs a strategy-based detection pipeline that combines multiple identification methods to ensure accuracy. It utilizes heuristic-based pattern matching for file extensions and filenames, supplemented by regex-driven content analysis and Bayesian statistical classification
Identifies the language of source code files by analyzing extensions, filenames, and content patterns.
DeepLX is a self-hosted translation API server that provides free access to DeepL translation services without requiring a paid API token or account. It functions as a token-free proxy, enabling programmatic text translation between languages through a single HTTP endpoint. The server accepts JSON-based requests with source and target language parameters, supporting automatic source language detection and validation of language codes. It processes each translation request independently in a stateless manner, and offers optional bearer token authentication to restrict access to authorized clie
Provides automatic source language detection for translation requests using standard language codes.
Franc est une bibliothèque de détection de langage naturel et un identifiant en ligne de commande utilisé pour déterminer la langue écrite d'un échantillon de texte. Il fonctionne comme un profileur de langue statistique qui identifie et classifie le texte multilingue en analysant les distributions de caractères. L'outil emploie un système d'analyse statistique basé sur les trigrammes, comparant la fréquence des séquences de trois caractères dans un échantillon d'entrée par rapport à des profils de référence. Il classe les correspondances de langue potentielles en calculant la distance statistique entre l'entrée et ces profils, lui permettant de retourner une liste classée des langues probables. Le projet fournit une interface en ligne de commande pour l'analyse de texte et prend en charge la classification automatisée de contenu. Il utilise des jeux de données de langue modulaires et des tables de n-grammes précalculées pour séparer la logique de détection des données de profil spécifiques à la langue.
Detects the natural language of text input by analyzing its statistical profile.