{"id":4840,"library":"uroman","title":"uroman - Universal Romanizer","description":"uroman is a universal romanizer designed to convert text in any script to the standard Latin alphabet. Version 1.3.1.1 is the current stable release. Starting with v1.3.1, the library underwent a significant rewrite from Perl to Python, bringing improved support for various languages including Coptic, Thai, Khmer, and Tibetan. Releases are made periodically to enhance language support and features.","status":"active","version":"1.3.1.1","language":"en","source_language":"en","source_url":"https://github.com/isi-nlp/uroman","tags":["NLP","text-processing","transliteration","romanization","unicode"],"install":[{"cmd":"pip install uroman","lang":"bash","label":"Install latest version"}],"dependencies":[],"imports":[{"symbol":"romanize","correct":"import uroman\nromanized_text = uroman.romanize(\"...\")"}],"quickstart":{"code":"import uroman\n\ntext_in_any_script = \"你好世界\"\nromanized_text = uroman.romanize(text_in_any_script)\n\nprint(f\"Original: {text_in_any_script}\")\nprint(f\"Romanized: {romanized_text}\")\n\n# Example with another script\ntext_arabic = \"مرحبا بالعالم\"\nprint(f\"Arabic: {text_arabic} -> {uroman.romanize(text_arabic)}\")","lang":"python","description":"Demonstrates how to import the uroman library and use the main `romanize` function to convert text from various scripts to the Latin alphabet."},"warnings":[{"fix":"Users migrating from Perl versions must entirely rewrite their integration code, as the API, dependencies, and execution environment have fundamentally changed. Refer to the Python examples in the official documentation.","message":"Version 1.3.1 marked a complete rewrite of the library from Perl to Python. Code written for previous versions (pre-1.3.1) is incompatible and will not work with the Python version.","severity":"breaking","affected_versions":"<1.3.1"},{"fix":"Ensure your Python environment is version 3.10 or higher before installing `uroman`. Upgrade your Python interpreter or use a virtual environment with the correct version.","message":"The uroman Python library (v1.3.1 and later) requires Python 3.10 or newer. Attempting to install or run it with older Python versions will result in installation failures or runtime errors.","severity":"gotcha","affected_versions":">=1.3.1"}],"env_vars":null,"last_verified":"2026-04-12T00:00:00.000Z","next_check":"2026-07-11T00:00:00.000Z"}