cal-phonetic
Version:
CAL code to Latin phonetic transliteration
89 lines (62 loc) • 3.62 kB
Markdown
# cal-phonetic
[](https://badge.fury.io/js/cal-phonetic)
[](https://www.npmjs.org/package/cal-phonetic)
[](https://travis-ci.org/peshitta/cal-phonetic)
[](https://github.com/peshitta/cal-phonetic/blob/master/LICENSE)
[](https://david-dm.org/peshitta/cal-phonetic)
[](https://coveralls.io/github/peshitta/cal-phonetic?branch=master)
[](https://gitter.im/peshitta/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
CAL code to Latin phonetic transliteration
## Installation
In order to use this library, [Node.js](https://nodejs.org) should be installed.
Then run:
```
npm install cal-phonetic --save
```
Following bundles are available:
* `cal-phonetic.js` - UMD ES5 version for use in browser, node, etc.
* `cal-phonetic.min.js` - minified version of `cal-phonetic.js`
* `cal-phonetic.esm.js` - ES6 module version, suitable for bundling with other
libraries and applications
The package could also be downloaded directly from:
[https://registry.npmjs.org/cal-phonetic/-/cal-phonetic-1.0.3.tgz](https://registry.npmjs.org/cal-phonetic/-/cal-phonetic-1.0.3.tgz)
## More information
[Peshitta App](https://peshitta.github.io)
[Beth Mardutho](https://sedra.bethmardutho.org/about/fonts)
[CAL](http://cal1.cn.huc.edu/searching/fullbrowser.html)
## License
[MIT](https://github.com/peshitta/cal-phonetic/blob/master/LICENSE)
## Contributing
The final goal for this work is to learn the Word of God as recorded by
[Peshitta](https://en.wikipedia.org/wiki/Peshitta).
You are welcomed to improve this implementation or provide feedback. Please
feel free to [Fork](https://help.github.com/articles/fork-a-repo/), create a
[Pull Request](https://help.github.com/articles/about-pull-requests/) or
submit [Issues](https://github.com/peshitta/cal-phonetic/issues).
To read quick updates about Peshitta app or post questions or feedback, follow
[@peshittap](https://www.twitter.com/peshittap)
at [](https://www.twitter.com/peshittap)or
[](https://gitter.im/peshitta/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
## Development
```
npm install
```
```
npm run build
```
## API Reference
* [calPhonetic](#module_calPhonetic)
* [.mapper](#module_calPhonetic.mapper) : <code>Mapper</code>
* [.toPhonetic](#module_calPhonetic.toPhonetic) ⇒ <code>string</code>
<a name="module_calPhonetic.mapper"></a>
### calPhonetic.mapper : <code>Mapper</code>
Phonetic Mapper
**Kind**: static constant of [<code>calPhonetic</code>](#module_calPhonetic)
<a name="module_calPhonetic.toPhonetic"></a>
### calPhonetic.toPhonetic ⇒ <code>string</code>
Convert from CAL to Phonetic Latin
**Kind**: static constant of [<code>calPhonetic</code>](#module_calPhonetic)
**Returns**: <code>string</code> - the input word converted to phonetic Latin
| Param | Type | Description |
| --- | --- | --- |
| word | <code>string</code> | input word in CAL code transliteration |