Translingual -多语言音译 - 使用转录的语音翻译

NoyesAntony 发布于17天前
0 条问题

Translingual - Multilingual transliteration - Phonetic translation using transcription.

 

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/translingual@1.1.5/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

Language Source
" en " - English English orthography
" ru " - Russian Russian alphabet
" es " - Spanish Spanish orthography
" de " - German German orthography
" el " - Greek Greek orthography
" sr " - Serbian Serbian Cyrillic alphabet
" fr " - French French orthography
" uk " - Ukrainian Ukrainian alphabet
" he " - Hebrew Hebrew spelling
(only "to" - can't read, can only write)
" trans " - Transcription IPA

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

查看原文: Translingual - Multilingual transliteration - Phonetic translation using transcription

  • orangedog
  • crazybird
  • bigpeacock
  • brownostrich
  • heavybutterfly
  • greenswan217
需要 登录 后回复方可回复, 如果你还没有账号你可以 注册 一个帐号。