{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic"}],"enrichment":{"capability":"Sacremoses provides tokenization, detokenization, truecasing, and punctuation normalization for text processing, primarily for machine translation and NLP pipelines.","skillfed_tags":["nlp-preprocessing","machine-translation","tokenization"],"use_cases":["Tokenize raw text for machine translation or NLP model training pipelines.","Restore proper capitalization in all-caps or ASR output using trained truecasing models.","Normalize punctuation and control characters in multilingual text datasets.","Build preprocessing pipelines via CLI with language-specific rules and parallel processing.","Detokenize model output back into readable text for evaluation or display."],"what_it_does":"Sacremoses is a Python implementation of the Moses statistical machine translation toolkit's text processing utilities. It provides language-aware tokenization (splitting text into words and punctuation), detokenization (reconstructing text from tokens), truecasing (restoring proper capitalization from all-caps or all-lowercase text), and punctuation normalization. The package wraps the core Moses algorithms and exposes them through both a Python API and command-line interface.\n\nThe library is designed for NLP and machine translation preprocessing pipelines. It supports multiple languages through language-specific rules, offers parallel processing via joblib, and can be used programmatically or as a CLI tool with pipeline chaining. Its four main runtime dependencies\u2014regex, click, joblib, and tqdm\u2014handle pattern matching, command-line interfaces, parallel execution, and progress reporting respectively.","worth_installing":"Yes, with conditions. Sacremoses is a stable, permissively licensed tool for standard text preprocessing in NLP workflows. Install it if you need Moses-style tokenization or truecasing for machine translation or similar tasks. However, the aging maintenance status means you should verify compatibility with your current Python and dependency versions before relying on it for production work."},"id":"sacremoses","links":{"html":"https://skillfed.io/packages/sacremoses","md":"https://skillfed.io/packages/sacremoses.md","pypi":"https://pypi.org/project/sacremoses/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2023-10-30","license_spdx":null,"license_treatment":"permissive","name":"sacremoses","python_support":"supports_current","summary":"SacreMoses"},"popularity":{"monthly_downloads":2913037,"position":2825,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.1.1"}
