4 مستودعات
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 هي مكتبة اكتشاف لغة طبيعية ومعرف سطر أوامر يُستخدم لتحديد اللغة المكتوبة لعينة نصية. تعمل كمحلل لغة إحصائي يحدد ويصنف النصوص متعددة اللغات عن طريق تحليل توزيعات الأحرف. تستخدم الأداة نظام تحليل إحصائي قائماً على التريغرام (trigram)، حيث تقارن تكرار تسلسلات الأحرف الثلاثة في عينة الإدخال مقابل ملفات تعريف مرجعية. وتقوم بترتيب تطابقات اللغة المحتملة عن طريق حساب المسافة الإحصائية بين الإدخال وهذه الملفات التعريفية، مما يسمح لها بإرجاع قائمة مرتبة باللغات المحتملة. يوفر المشروع واجهة سطر أوامر لتحليل النصوص ويدعم تصنيف المحتوى المؤتمت. ويستخدم مجموعات بيانات لغة نمطية وجداول n-gram محسوبة مسبقاً لفصل منطق الاكتشاف عن بيانات ملف تعريف اللغة المحددة.
Detects the natural language of text input by analyzing its statistical profile.