{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic"}],"enrichment":{"capability":"Converts English text to phoneme sequences using dictionary lookup, part-of-speech disambiguation, and neural prediction for out-of-vocabulary words.","skillfed_tags":["speech-synthesis","nlp","phonetics"],"use_cases":["Preprocessing text for text-to-speech (TTS) systems where accurate phoneme sequences are required for synthesis quality.","Building speech recognition training data pipelines that need ground-truth phoneme alignments from orthographic text.","Linguistic analysis of English pronunciation patterns, homograph disambiguation, and out-of-vocabulary word handling.","Augmenting speech datasets with phonetic transcriptions for acoustic model training.","Educational tools that teach English pronunciation by mapping written words to their phonetic representations."],"what_it_does":"g2p_en is a Python module that converts English text to phoneme sequences, a critical preprocessing step for speech synthesis and text-to-speech systems. It handles the irregularity of English pronunciation by combining three strategies: dictionary lookup via the CMU Pronouncing Dictionary, part-of-speech-based disambiguation for homographs (words with multiple pronunciations), and neural sequence-to-sequence prediction for out-of-vocabulary words. The module also normalizes numbers and abbreviations into spelled-out forms before conversion.\n\nThe package depends on numpy for inference (TensorFlow was removed to avoid GPU requirements and API churn), nltk for part-of-speech tagging and dictionary access, inflect for morphological operations, and distance for string matching. It is designed for Python 3.x and installs as a pure wheel with low friction. However, the project has been abandoned since late 2019, with no maintenance or updates since early 2023, so users should be prepared to handle any compatibility issues with modern dependency versions independently.","worth_installing":"Yes, if you need English grapheme-to-phoneme conversion and can tolerate an abandoned package. The module is stable, has no known vulnerabilities, and works well for its narrow purpose. Install it only if you are comfortable maintaining compatibility with its dependencies yourself and do not expect upstream fixes or feature updates. For active projects requiring long-term support, consider whether a maintained alternative exists."},"id":"g2p-en","links":{"html":"https://skillfed.io/packages/g2p-en","md":"https://skillfed.io/packages/g2p-en.md","pypi":"https://pypi.org/project/g2p-en/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-12-31","license_spdx":null,"license_treatment":"permissive","name":"g2p-en","python_support":"unspecified","summary":"A Simple Python Module for English Grapheme To Phoneme Conversion"},"popularity":{"monthly_downloads":1134313,"position":4313,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.1.0"}
