translingual
v1.1.7
Published
Multilingual transliteration - phonetic visualization using transcription.
Downloads
14
Maintainers
Readme
Translingual - Multilingual transliteration - Phonetic translation using transcription.
Install
$ npm i -g translingual
Usage
Via bash:
$ trans 'Hello world!' en ru
# "Эллoу Вoурлд!"
As code:
const trans = require('translingual');
var result = trans.ling('Hello world!', 'en', 'ru');
console.log(result); // This will print: "Эллoу Вoурлд!"
Or using vanilla JS in your browser:
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/translingual.min.js"></script>
<script type="text/javascript">
var result = Trans.ling('Hello world!', 'en', 'ru');
console.log(result); // This will print: "Эллoу Вoурлд!"
</script>
See live Demo
Description
This small and cool module can phonatically visualize a sentense from one language to another. For this I use transcription. I translate a sentense from any of the supported original languages to transcription, and from that I form back a sentense on any currently supported language.
NOTE: Semitic languages like Hebrew and Arabic are really problematic to translate into transcription.
Spported Languages
Roadmap
- Add more languages.
License
APACHE-2.0 (see the LICENSE files in the repository).
Donate
Have fun and if you like it, leave a tip for a cup of beer or directly donate to our cause