{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/10"},{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic/2"}],"enrichment":{"capability":"Identifies the language of text using a neural network model, returning language codes with confidence scores and reliability indicators.","skillfed_tags":["language-detection","neural-network","nlp"],"use_cases":["Automatically classify user-generated content by language for routing to appropriate moderation or translation pipelines","Detect language in multilingual documents to split and process sections separately","Filter or prioritize search results by language without relying on HTTP headers or user metadata","Identify the primary language of web pages or social media posts for content aggregation","Validate language metadata in datasets or correct misclassified language tags"],"what_it_does":"cld3-py is a Python wrapper around a neural network model for language identification. It takes text input and returns the detected language as a BCP-47 code (e.g., 'en' for English, 'bg-Latn' for Bulgarian in Latin script) along with a confidence probability, reliability flag, and proportion of the text in that language. The model works by extracting character n-grams from input, hashing them to embedding vectors, and passing the averaged embeddings through a neural network with a hidden layer and softmax output.\n\nThe package is a modernized fork with prebuilt wheels for recent Python versions and multiple platforms, eliminating the need to compile C++ code during installation on most systems. It supports Python 3.10 through 3.14 (including free-threaded builds) and runs on macOS, Linux, and Windows. The API is backward-compatible with the original gcld3 package, so existing code imports work unchanged.","worth_installing":"Yes, if you need reliable language detection without external API calls or heavy dependencies. The prebuilt wheels make installation straightforward on common platforms, the Apache License is permissive, and active maintenance ensures compatibility with current Python versions. Medium install friction is acceptable for a compiled model. Verify accuracy on your specific text types before production use."},"id":"cld3-py","links":{"html":"https://skillfed.io/packages/cld3-py","md":"https://skillfed.io/packages/cld3-py.md","pypi":"https://pypi.org/project/cld3-py/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-23","license_spdx":null,"license_treatment":"permissive","name":"cld3-py","python_support":"supports_current","summary":"Compact Language Detector v3 (CLD3) Python bindings \u2014 modernised fork with prebuilt wheels for Python 3.10\u20133.14."},"popularity":{"monthly_downloads":93597,"position":13376,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.1.0"}
