Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 768 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 768 Bytes

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