metaphone3
This is Lawrence Philips's metaphone3 implementation ported/transpiled using cincheo/jsweet.
You can find the original in OpenRefine's repo here
Install
npm install metaphone3
Usage
import { metaphone3 } from '.';
metaphone3('Amin');
metaphone3('iron');
metaphone3('witz');
metaphone3('');
metaphone3('VILLASENOR');
metaphone3('GUILLERMINA');
metaphone3('PADILLA');
metaphone3('BJORK');
metaphone3('belle');
metaphone3('ERICH');
metaphone3('CROCE');
metaphone3('GLOWACKI');
metaphone3('qing');
metaphone3('tsing');
metaphone3('Guillermo', { encodeExact: true, encodeVowels: true });