-
Notifications
You must be signed in to change notification settings - Fork 0
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'