{"id":37225600,"url":"https://github.com/pablodz/word2number","last_synced_at":"2026-01-15T01:48:09.799Z","repository":{"id":55490228,"uuid":"523103920","full_name":"pablodz/word2number","owner":"pablodz","description":"Fast inverse text normalization, multilingual and open-source.","archived":true,"fork":false,"pushed_at":"2022-12-20T17:25:29.000Z","size":276,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-23T18:06:23.901Z","etag":null,"topics":["inverse-text-normalization"],"latest_commit_sha":null,"homepage":"","language":"Go","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/pablodz.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":"2022-08-09T20:47:11.000Z","updated_at":"2024-08-15T20:23:41.000Z","dependencies_parsed_at":"2023-01-30T01:30:57.938Z","dependency_job_id":null,"html_url":"https://github.com/pablodz/word2number","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/pablodz/word2number","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablodz%2Fword2number","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablodz%2Fword2number/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablodz%2Fword2number/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablodz%2Fword2number/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pablodz","download_url":"https://codeload.github.com/pablodz/word2number/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablodz%2Fword2number/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28441031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"ssl_error","status_checked_at":"2026-01-15T00:55:20.945Z","response_time":107,"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":["inverse-text-normalization"],"created_at":"2026-01-15T01:48:09.117Z","updated_at":"2026-01-15T01:48:09.773Z","avatar_url":"https://github.com/pablodz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ONLY USE FOR REALLY-FAST CONVERTION. USE NEMO OPEN-SOURCE INSTEAD OF THIS IF YOU WANT TO SUPPORT MORE NUMERALS AND LANGUAGES\n\nhttps://github.com/NVIDIA/NeMo/tree/main/nemo_text_processing/inverse_text_normalization\n\n# USE CASES\n\n| INPUT                                                       | OUTPUT                                    |\n| ----------------------------------------------------------- | ----------------------------------------- |\n| siete mil pesos                                             | 7000 pesos                                |\n| ochenta y nueve dólares                                     | 89 dólares                                |\n| seis mil ochenta y cuatro euros                             | 6084 euros                                |\n| cuatro mil novecientos noventa y nueve pesos                | 4999 pesos                                |\n| cero guion cuarenta y cinco guion dos guion catorce         | 0-45-2-14                                 |\n| ABCD tres siete cuatro ocho nueve                           | A B C D 3 7 4 8 9                         |\n| cero uno uno cero uno                                       | 1011                                      |\n| más cero setenta y seis                                     | 067                                       |\n| Calle cuarenta y tres a la cuarenta y siete                 | Calle 43 a la 47                          |\n| veinte de agosto                                            | 20 de agosto                              |\n| cinco de julio                                              | 5 de julio                                |\n| primero de febrero                                          | primero de febrero                        |\n| primero del ocho del dos mil diez                           | primero del 8 del 1980                    |\n| treinta y dos de febrero de mil novecientos ochenta         | 32 de febrero de 1980                     |\n| 31 de diciembre del seis mil doce                           | 31 de dicieembre de 6012                  |\n| menos 15                                                    | \\-15                                      |\n| menos 18 años                                               | \\-18 años                                 |\n| veinticinco                                                 | 25                                        |\n| treinta positivo                                            | 30 positivo                               |\n| treinta y cinco negativo                                    | 35 negativo                               |\n| menos seis mil                                              | \\-6000                                    |\n| veinte años                                                 | 20 años                                   |\n| cero                                                        | 0                                         |\n| siete años tres meses ocho dias quince horas nueve segundos | 7 años 3 meses 8 dias 15 horas 9 segundos |\n| mil veintiocho punto tres cuatro                            | 1028.34                                   |\n\n\n# Install\n\n```bash\ngo get -v github.com/pablodz/word2number\n```\n\n# Spanish\n\n- Tested from 0 to 20000\n\n\n```golang\ntext := \"Mi código es cuatro mil novecientos noventa y nueve , y llueve cada cuatro mil novecientos noventa y ocho\"\ntextFixed, err := word2number.Text2NumES(text)\nif err != nil {\n    fmt.Println(err)\n}\nfmt.Println(\"text:\\t\\t\", text)\nfmt.Println(\"textFixed:\\t\", textFixed)\n```\n\n```bash\ntext:            Mi código es cuatro mil novecientos noventa y nueve , y llueve cada cuatro mil novecientos noventa y ocho\ntextFixed:       Mi código es 4999 , y llueve cada 4998\n```\n\n# English\n\n- Tested from 0 to 1000\n\n\n```golang\ntext := \"My code is one thousand\"\ntextFixed, err := word2number.Text2NumEN(text)\nif err != nil {\n    fmt.Println(err)\n}\nfmt.Println(\"text:\\t\\t\", text)\nfmt.Println(\"textFixed:\\t\", textFixed)\n```\n\n```bash\ntext:            My code is one thousand\ntextFixed:       My code is 1000\n```\n\n# Portuguese\n\n\n- Tested from 0 to 100\n\n\n```golang\ntext := \"My code is cinquenta e nove\"\ntextFixed, err := lang.Text2NumPR(text)\nif err != nil {\n    fmt.Println(err)\n}\nfmt.Println(\"text:\\t\\t\", text)\nfmt.Println(\"textFixed:\\t\", textFixed)\n```\n\n```bash\ntext:            My code is cinquenta e nove\ntextFixed:       My code is 59\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablodz%2Fword2number","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpablodz%2Fword2number","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablodz%2Fword2number/lists"}