{"id":21405,"library":"gruut-ipa","title":"groʊt IPA","description":"Library for manipulating pronunciations using the International Phonetic Alphabet (IPA). Provides classes and functions for parsing, grouping, and comparing IPA strings, handling suprasegmentals, diacritics, and stress markers. Current version 0.13.0.","status":"active","version":"0.13.0","language":"python","source_language":"en","source_url":"https://github.com/rhasspy/gruut-ipa","tags":["ipa","phonetics","pronunciation","linguistics"],"install":[{"cmd":"pip install gruut-ipa","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Package uses underscore, not hyphen or dot.","wrong":"from gruut.ipa import IPA","symbol":"IPA","correct":"from gruut_ipa import IPA"}],"quickstart":{"code":"from gruut_ipa import IPA\n\nipa = IPA('ˈsɝˌvɛɪ')\nprint(ipa)  # 'ˈsɝˌvɛɪ'\nprint(ipa.stripped())  # 'sɝvɛɪ'\nprint(ipa.phonemes)  # ['ˈ', 's', 'ɝ', ',', 'v', 'ɛ', 'ɪ']","lang":"python","description":"Parse an IPA string and access its components."},"warnings":[{"fix":"Replace `.graphemes` with `.phonemes`.","message":"The `IPA.graphemes` property has been removed in v0.13.0; use `.phonemes` instead.","severity":"deprecated","affected_versions":">=0.13.0"},{"fix":"Normalize both strings with `unicodedata.normalize('NFC', ...)` before comparing.","message":"IPA string comparisons may fail due to Unicode normalization (composed vs decomposed characters). Normalize strings with `unicodedata.normalize('NFC', s)` before comparison.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Use `from gruut_ipa import IPA` (underscore).","cause":"Import path uses hyphen or dot instead of underscore.","error":"ModuleNotFoundError: No module named 'gruut_ipa'"},{"fix":"Use `.phonemes` instead.","cause":"Renamed to `phonemes` in v0.13.0.","error":"AttributeError: 'IPA' object has no attribute 'graphemes'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}