{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/4"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/8"}],"enrichment":{"capability":"Adds language detection to spaCy pipelines at document and sentence level, using langdetect by default but accepting custom detection functions.","skillfed_tags":["nlp-pipeline","language-detection","abandoned"],"use_cases":["Filter or route multilingual documents to language-specific NLP pipelines based on detected language.","Identify language switches within a document to handle code-switching or mixed-language text.","Preprocess text corpora to separate documents by language before applying language-specific models.","Add language metadata to spaCy Doc objects for downstream analysis or logging.","Integrate a custom language detector (e.g., from an external API) into a spaCy workflow."],"what_it_does":"spacy_language_detection is a spaCy pipeline component that detects the language of text at both document and sentence level. It wraps langdetect under the hood and exposes language predictions as custom attributes (doc._.language and span._.language) on spaCy Doc and Span objects. The package was forked from spacy-langdetect to fix a seed problem and add spaCy 3.0 support.\n\nThe component is fully customizable: you can replace the default langdetect detector with your own language detection function (e.g., googletrans or pycld2) by passing a callable to the LanguageDetector constructor. This makes it useful for pipelines where you need language identification as a preprocessing or filtering step, or where you want to swap detection backends without rewriting integration code.","worth_installing":"No. The package is abandoned (last update 2021-09-08, 1801 days ago) with no maintenance signal. While it has low install friction and no known vulnerabilities, the lack of updates means it may break with newer spaCy versions or Python releases. If you need language detection in spaCy, consider maintaining a fork or using a more actively maintained alternative."},"id":"spacy-language-detection","links":{"html":"https://skillfed.io/packages/spacy-language-detection","md":"https://skillfed.io/packages/spacy-language-detection.md","pypi":"https://pypi.org/project/spacy-language-detection/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2021-09-08","license_spdx":null,"license_treatment":"copyleft","name":"spacy-language-detection","python_support":"supports_current","summary":"Fully customizable language detection for spaCy pipeline"},"popularity":{"monthly_downloads":992917,"position":4557,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.2.1"}
