{"id":30203903,"url":"https://github.com/arverma/hindixlit","last_synced_at":"2025-08-13T12:20:32.557Z","repository":{"id":307177236,"uuid":"1008762967","full_name":"arverma/HindiXlit","owner":"arverma","description":"Transliteration models for Roman to Devanagari language   ","archived":false,"fork":false,"pushed_at":"2025-06-27T03:42:19.000Z","size":48029,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-29T22:19:17.073Z","etag":null,"topics":["hindi","indicxlit","python-library","roman-to-devnagari","transalitration","transliterate-hindi"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/hindi-xlit/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arverma.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-26T04:10:17.000Z","updated_at":"2025-07-01T11:40:34.000Z","dependencies_parsed_at":"2025-07-29T22:29:26.956Z","dependency_job_id":null,"html_url":"https://github.com/arverma/HindiXlit","commit_stats":null,"previous_names":["arverma/hindixlit"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/arverma/HindiXlit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arverma%2FHindiXlit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arverma%2FHindiXlit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arverma%2FHindiXlit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arverma%2FHindiXlit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arverma","download_url":"https://codeload.github.com/arverma/HindiXlit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arverma%2FHindiXlit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270238372,"owners_count":24550671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hindi","indicxlit","python-library","roman-to-devnagari","transalitration","transliterate-hindi"],"created_at":"2025-08-13T12:20:27.897Z","updated_at":"2025-08-13T12:20:32.522Z","avatar_url":"https://github.com/arverma.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hindi Transliteration Library\n\nA Python library for transliterating English text to Hindi using AI4Bharat's model. This library provides a simple interface for converting English words to their Hindi (Devanagari) equivalents.\n\n## Features\n- Returns multiple transliteration candidates, default is 3\n- Interactive command-line interface\n\n## Installation\n\n```bash\npip install hindi-xlit\n```\n\n## Usage\n\n### Basic Usage\n\n```python\nfrom hindi_xlit import HindiTransliterator\n\n# Initialize the transliterator\ntransliterator = HindiTransliterator()\n\n# Transliterate a single word\nword = \"namaste\"\ncandidates = transliterator.transliterate(word)\nprint(f\"Transliteration candidates for '{word}':\")\nfor i, candidate in enumerate(candidates, 1):\n    print(f\"{i}. {candidate}\")\n\n# Transliterate multiple words\nwords = [\"hello\", \"world\"]\nresults = transliterator.transliterate_batch(words)\nfor word, candidates in zip(words, results):\n    print(f\"\\nTransliteration candidates for '{word}':\")\n    for i, candidate in enumerate(candidates, 1):\n        print(f\"{i}. {candidate}\")\n```\n\n### Command Line Interface\n\nAfter installing the package (e.g., via pip from PyPI), you can use the command line interface:\n\n```bash\nhindi-xlit \u003cword\u003e [topk]\n```\n\n- `\u003cword\u003e`: The word in Roman script to transliterate (required)\n- `[topk]`: (Optional) Number of transliteration candidates to return (default: 3)\n\n**Examples:**\n\n```bash\nhindi-xlit namaste\n# Output:\n# Transliteration candidates for 'namaste':\n# 1. नमस्ते\n# 2. नमसते\n# 3. नामसते\n\nhindi-xlit hello 5\n# Output:\n# Transliteration candidates for 'hello':\n# 1. हेलो\n# 2. हैलो\n# 3. हेलों\n# 4. हिलो\n# 5. हीलो\n```\n\nIf you run the command without arguments, it will show usage instructions.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\nThis library uses the transliteration model from [AI4Bharat](https://github.com/AI4Bharat/IndicXlit).\n\nSee [CHANGELOG.md](./CHANGELOG.md) for release notes.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farverma%2Fhindixlit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farverma%2Fhindixlit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farverma%2Fhindixlit/lists"}