{"id":13935593,"url":"https://github.com/jumon/pywer","last_synced_at":"2025-07-19T20:33:24.368Z","repository":{"id":54627885,"uuid":"336486631","full_name":"jumon/pywer","owner":"jumon","description":"A simple Python package to calculate word error rate (WER).","archived":false,"fork":false,"pushed_at":"2021-02-07T08:58:53.000Z","size":13,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-08T23:21:18.204Z","etag":null,"topics":["speech-recognition","speech-to-text","wer","word-error-rate"],"latest_commit_sha":null,"homepage":"","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/jumon.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}},"created_at":"2021-02-06T08:02:02.000Z","updated_at":"2023-04-03T15:43:27.000Z","dependencies_parsed_at":"2022-08-13T22:00:46.259Z","dependency_job_id":null,"html_url":"https://github.com/jumon/pywer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumon%2Fpywer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumon%2Fpywer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumon%2Fpywer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumon%2Fpywer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jumon","download_url":"https://codeload.github.com/jumon/pywer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226677126,"owners_count":17666010,"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","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":["speech-recognition","speech-to-text","wer","word-error-rate"],"created_at":"2024-08-07T23:01:54.839Z","updated_at":"2024-11-27T03:30:52.923Z","avatar_url":"https://github.com/jumon.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# pywer\n![license](https://img.shields.io/github/license/jumon/pywer)\n![pytest](https://github.com/jumon/pywer/workflows/pytest/badge.svg)\n[![codecov](https://codecov.io/gh/jumon/pywer/branch/main/graph/badge.svg?token=X02IF8F8LR)](https://codecov.io/gh/jumon/pywer)\n\nPywer is a simple Python package to calculate word error rate (WER). Pywer can also\ncalculate character error rate (CER).\n\n## Install\nYou can install pywer via pip.\n```\npip install pywer\n```\n\n## Usage\n```python\nimport pywer\n\nreferences = [\n    \"this is a simple python package\",\n    \"it calculates word error rate\",\n    \"it can also calculate cer\",\n]\nhypotheses = [\n    \"this is the simple python package\",\n    \"it calculates word error\",\n    \"it can also calculate see er\",\n]\n\nwer = pywer.wer(references, hypotheses)\ncer = pywer.cer(references, hypotheses)\nprint(f\"WER: {wer:.2f}, CER: {cer:.2f}\")\n```\n\n## Development\nInstall pre-commit hooks.\n```\npip install pre-commit\npre-commit install --install-hooks\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjumon%2Fpywer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjumon%2Fpywer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjumon%2Fpywer/lists"}