--- id: gcld3 version: "3.0.13" license: unclear license_treatment: unclear maintenance: abandoned --- # gcld3 — CLD3 is a neural network model for language identification. License: unclear · Maintenance: abandoned · Downloads: 109.8K/mo ## What it is and what it does gcld3 is a Python wrapper around Google's Compact Language Detector v3, a neural network model trained to identify the language of text. It extracts character n-grams from input, hashes them to embedding vectors, and passes the averaged embeddings through a small neural network to predict language. The model outputs BCP-47 language codes and can distinguish between different scripts of the same language. The package ships with precompiled inference code and a trained model, so no training or model download is required at runtime. It has no runtime dependencies. However, the package is abandoned—the repository was archived and the last release was 2020-08-19, meaning no bug fixes, security updates, or support for newer Python versions are expected. Use it for: - Automatically categorize user-generated content by language for multilingual applications or content moderation pipelines. - Detect the language of incoming text in chatbots or support systems to route to appropriate handlers. - Identify the script used in text for rendering or font selection in international user interfaces. - Preprocess text corpora by filtering or grouping documents by detected language before NLP analysis. - Validate or correct language metadata in multilingual datasets or document stores. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Identifies the language of input text using a neural network model, returning BCP-47-style language codes for many languages and scripts. Yes, if you need lightweight language detection for a stable, well-defined use case and can accept that the package will not receive updates. The model is frozen and the package has no runtime dependencies, so it will continue to work predictably. No, if you require support for modern Python versions, active maintenance, or security patches—use an actively maintained alternative instead. ## Install pip install gcld3 uv add gcld3 poetry add gcld3 ## Installing gcld3 Before you install: Medium install friction due to compiled wheels for specific Python versions and platforms (macOS, manylinux2010). Package is abandoned as of 2023-05-24 with no active maintenance. License in practice: License status is unclear—no SPDX identifier or raw license text provided. Verify licensing terms before use in proprietary or redistributed projects. Quickstart: pip install gcld3 import gcld3 detector = gcld3.NNetLanguageIdentifier(min_num_bytes=0, max_num_bytes=0) result = detector.FindLanguage(text="Hello world") print(result.language, result.probability) Requires prebuilt wheels for specific Python versions on macOS or manylinux2010; building from source requires Chromium repository and build tools. Verify before relying: - Whether the package works with Python versions beyond those with prebuilt wheels - Current stability and accuracy of the trained model given no updates since 2020-08-19 - Whether the archived repository will accept security patches or bug fixes ## Package facts - License: not declared (unclear) - Python support: unspecified - Install friction: medium - Maintenance: abandoned - Downloads: 109.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags language detection, language identification, detect text language, multilingual text classifier, language code prediction, neural language detector, script detection, language-detection, neural-network, multilingual [View on SkillFed](https://skillfed.io/packages/gcld3) · [View on PyPI](https://pypi.org/project/gcld3/)