{"id":24752446,"url":"https://github.com/willwade/piperphonemizeapi","last_synced_at":"2026-04-13T20:04:51.431Z","repository":{"id":274389838,"uuid":"922743070","full_name":"willwade/PiperPhonemizeAPI","owner":"willwade","description":"A API to phomemize text using Pipers Phonemize tool","archived":false,"fork":false,"pushed_at":"2025-01-31T04:33:21.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T04:27:56.429Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/willwade.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2025-01-27T00:57:51.000Z","updated_at":"2025-01-31T04:33:24.000Z","dependencies_parsed_at":"2025-01-27T02:29:38.766Z","dependency_job_id":"db4e2ec1-8c7c-45ca-9ac1-fb2aee35c097","html_url":"https://github.com/willwade/PiperPhonemizeAPI","commit_stats":null,"previous_names":["willwade/piperphonemizeapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/willwade/PiperPhonemizeAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willwade%2FPiperPhonemizeAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willwade%2FPiperPhonemizeAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willwade%2FPiperPhonemizeAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willwade%2FPiperPhonemizeAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willwade","download_url":"https://codeload.github.com/willwade/PiperPhonemizeAPI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willwade%2FPiperPhonemizeAPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31768720,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-01-28T10:49:56.861Z","updated_at":"2026-04-13T20:04:51.415Z","avatar_url":"https://github.com/willwade.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phonemizer API\n\nA FastAPI-based service that converts text to various phoneme formats (IPA, SAMPA, and eSpeak ASCII) using the Rhasspy fork of eSpeak-NG.\n\n## Features\n\n- Convert text to phonetic representations\n- Support for multiple languages (Arabic, Czech, English, French, German, etc.)\n- RESTful API with Swagger documentation\n- Docker support\n- Health check endpoint\n\n## Requirements\n\n- Python 3.9+\n- eSpeak-NG (Rhasspy fork)\n- FastAPI and dependencies\n\n## Installation\n\n### Local Development\n\n1. Install system dependencies (macOS):\n```bash\n# Install Homebrew if not already installed\n/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"\n\n# Install build dependencies and espeak-ng\n./scripts/install_espeak.sh\n```\n\n2. Install Python dependencies:\n```bash\npip install -r requirements.txt\n```\n\n3. Run the API:\n```bash\nuvicorn app.main:app --reload\n```\n\n### Docker Installation\n\nBuild and run using Docker:\n\n```bash\n# Build the image\ndocker build -t phonemizer-api .\n\n# Run the container\ndocker run -p 8000:8000 phonemizer-api\n```\n\n## API Usage\n\nThe API will be available at http://localhost:8000 with the following endpoints:\n\n### Endpoints\n\n#### POST /phonemize\nConvert text to phonemes.\n\nRequest body:\n```json\n{\n    \"text\": \"hello world\",\n    \"language\": \"en-us\"\n}\n```\n\nResponse:\n```json\n{\n    \"ipa\": \"həˈloʊ ˈwɜːld\",\n    \"sampa\": \"h@\\\"loU \\\"w3:ld\",\n    \"espeak_ascii\": \"h@l'oU w3:ld\",\n    \"note\": \"Format conversion between IPA and SAMPA is pending implementation\"\n}\n```\n\n#### GET /languages\nList all supported languages.\n\n#### GET /health\nHealth check endpoint.\n\n### Documentation\n\n- Swagger UI: http://localhost:8000/docs\n- ReDoc: http://localhost:8000/redoc\n\n## Development\n\n### Running Tests\n\n```bash\npytest\n```\n\n### API Documentation\n\nThe API documentation is automatically generated and available at:\n- `/docs` - Swagger UI\n- `/redoc` - ReDoc interface\n\n## Notes\n\n- Currently, all phonetic formats (IPA, SAMPA) return the eSpeak ASCII format. Proper conversion is pending implementation.\n- The API uses the Rhasspy fork of eSpeak-NG for better compatibility and features.\n\n## License\n\nMIT License\n\n## Acknowledgments\n\n- [eSpeak-NG (Rhasspy fork)](https://github.com/rhasspy/espeak-ng)\n- [FastAPI](https://fastapi.tiangolo.com/)\n- [Piper Phonemize](https://github.com/rhasspy/piper-phonemize) ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillwade%2Fpiperphonemizeapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillwade%2Fpiperphonemizeapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillwade%2Fpiperphonemizeapi/lists"}