在不使用 Google API 的情况下在 Android 上从印地语音译成英语 [英] Transliteration from Hindi to English on Android without using Google API

查看:15
本文介绍了在不使用 Google API 的情况下在 Android 上从印地语音译成英语的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过以下方式将印地语文本音译成英文

I want to transliterate Hindi text into English in following way

印地语 - आपका स्वागत है"

英语 - aapka swagat hain"

我不想使用 Google 的翻译 API 或任何其他翻译 API.如果我使用它们,它最终会给我印地语文本的翻译版本,即Welcome".

I don't want to use Google's Translate API or any other translate API. If I use them it will end up giving me the translated version of my hindi text which is "Welcome".

有没有可以在我的 Android 代码中使用的音译库?

我听说过 ICU,但没有找到在我的代码中使用它的过程.

I've heard of ICU but no luck in finding the procedure to use it in my code.

推荐答案

解决问题的一种潜在方法是将其分成两部分可解决的,并与两者结婚.

One potential way to solve the problem is to break it into two solvable ones and marry the two.

有些印地语读者可以阅读印地文梵文脚本.

There are Hindi readers which can read Hindi devanagari script.

还有听写引擎以英语进行语音转录.

There are also dictating engines that phonetically transcribe in English.

例如当有人在我位于古吉拉特语的 Vonage 电话线上留言时,它会记录音频、生成英文文本并将 wav 文件和文本通过电子邮件发送给我.请注意,阅读短信时有时会非常有趣,因为 Vonage 假设它应该是英文的,我希望短信是英文的,但在阅读短信后我意识到它是古吉拉特语.

E.g. when someone leaves a message on my Vonage phone line in Gujarati, it records the audio, generates English text and emails me the wav file and the text. Mind you, when reading the text message it can occasionally be hilariously funny because Vonage assumes it is supposed to be in English, I am expecting the message to be in English, but after reading the message I realize it is Gujarati.

Google 'hindi reader for android' 和 'phonetic transcript' 了解更多信息.如果印地语阅读器可以输出可用作转录片段输入的 wav 文件,那么它可能是您的问题的解决方案.

Google 'hindi reader for android' and 'phonetic transcription' for more info. If a Hindi reader could output a wav file which can be used as input to the transcription piece, then it may be a solution to your problem.

这篇关于在不使用 Google API 的情况下在 Android 上从印地语音译成英语的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆