{"id":21126729,"url":"https://github.com/lukem512/pronounceable","last_synced_at":"2025-07-08T23:32:29.912Z","repository":{"id":65475886,"uuid":"55350803","full_name":"lukem512/pronounceable","owner":"lukem512","description":"Test a word for pronounceability","archived":false,"fork":false,"pushed_at":"2022-08-15T14:31:28.000Z","size":506,"stargazers_count":31,"open_issues_count":1,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-26T11:01:56.699Z","etag":null,"topics":["grammar","language"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/lukem512.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-03T14:37:16.000Z","updated_at":"2025-04-03T22:06:20.000Z","dependencies_parsed_at":"2023-01-25T06:15:30.568Z","dependency_job_id":null,"html_url":"https://github.com/lukem512/pronounceable","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/lukem512/pronounceable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukem512%2Fpronounceable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukem512%2Fpronounceable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukem512%2Fpronounceable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukem512%2Fpronounceable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukem512","download_url":"https://codeload.github.com/lukem512/pronounceable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukem512%2Fpronounceable/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264050864,"owners_count":23549755,"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":["grammar","language"],"created_at":"2024-11-20T04:45:04.700Z","updated_at":"2025-07-08T23:32:29.498Z","avatar_url":"https://github.com/lukem512.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pronounceable\n\n[![Build Status](https://travis-ci.org/lukem512/pronounceable.svg?branch=master)](https://travis-ci.org/lukem512/pronounceable) [![npm](https://img.shields.io/npm/l/pronounceable.svg)](https://www.npmjs.com/package/pronounceable) [![npm](https://img.shields.io/npm/v/pronounceable.svg)](https://www.npmjs.com/package/pronounceable) [![npm](https://img.shields.io/npm/dm/pronounceable.svg)](https://www.npmjs.com/package/pronounceable)\n\nPronounceable is a small module that allows you to test a word for pronounceability.\n\nTo use it, simply install via NPM and include it in your project file.\n\n```\nconst pronounceable = require('pronounceable');\n```\n\nThen, to test a word for pronounceability, use the `test` method.\n\n```\nconsole.log(pronounceable.test('samosa')); // true\nconsole.log(pronounceable.test('xghsii')); // false\n```\n\nYou can also use the module to score a word on its pronounceability, using the `score` method. The higher the output value the more pronounceable the word.\n\n```\nconsole.log(pronounceable.score('peonies')); // 0.10176356810708122\nconsole.log(pronounceable.score('sshh')); // 0.0008556941146173743\n```\n\nTo generate your own dataset use the `train` method.\n\n```\npronounceable.train('dictionary.txt', function(probabilities) {\n  // The data set has been returned\n  console.log(probabilities);\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukem512%2Fpronounceable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukem512%2Fpronounceable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukem512%2Fpronounceable/lists"}