Socket
Book a DemoInstallSign in
Socket

pronounceability

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pronounceability

Calculate pronounceability for a given word.

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
0
Created
Source

Pronounceability

Introduction

Library for calculating pronounceability score for a word. The higher the score, the more pronounceable the word.

Installation

npm install pronounceability --save

Usage

const { Pronounceable } = require('pronounceability');

OR

import { Pronounceable } from 'pronounceability';

Calculate the score

const pronounceable = new Pronounceable();
pronounceable.score('Smart'); // 0.038513178036421514

pronounceable.score('Google'); // 0.011301759838274162

Inspiration

https://github.com/lukem512/pronounceable

Trained using

https://github.com/words/an-array-of-english-words

Keywords

pronounce

FAQs

Package last updated on 17 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts