phonex

1.0.1 • Public • Published

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]);
    }
}

Readme

Keywords

none

Package Sidebar

Install

npm i phonex

Weekly Downloads

2

Version

1.0.1

License

ISC

Last publish

Collaborators

  • anrry