Skip to content

mraPhonetic

Subhajit Sahu edited this page Feb 12, 2020 · 1 revision

Gets Match Rating Approach phonetic of english text.

english.mraPhonetic(txt, [ext]);
// txt: english text
// ext: extended MRA? (false)
const english = require('extra-english');

english.mraPhonetic('Byrne');
// 'BYRN'

english.mraPhonetic('Boern');
// 'BRN'

english.mraPhonetic('Smith');
// 'SMTH'

english.mraPhonetic('Smyth');
// 'SMYTH'
Clone this wiki locally