1.0.1 • Published 8 years ago

phonex v1.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

#phonex

Transform a text into phonetic alphabet

NPM

##Example

var phonex = require('./phonex.js');
var tests = {
    'constamment': '[k][ɔ][s][t][a][m][ɑ]',
    'saccharose': '[s][a][k][a][ʁ][o][z]'
};

for(var test in tests){
    if(phonex.get(test) != tests[test]){
        console.log('Error: ' + test + ' = ' + phonex.get(test) + ' != ' + tests[test]);
    }
}