How translate english word in hindi - asp.net-mvc-4

How can I change English Word in hindi in Asp.net Mvc 4 without using any translatore or google API. Suppose a user enters his name in textbox in english, it should automatically get converted in hindi as types. just like happend Google Translator
Example :-
Mohit ----- मोहित

Your problem can be solved with a parser. Have a look at compiler making. The parser is an important part of it.
Anyhow you need a state machine which represents the rules for the transliteration. I don't know how complicated it will be to make one for Hindi->English or where you can find one. If you have the state machine it is quite easy to implement it.

Related

Google Detecting Japanese as English in voice recognition

I have created a voice controlled android application. I am giving option to change the locale to Japanese with English being the default one.
The Japanese TTS works perfectly fine. But when the voice recognition comes into picture, the Japanese words are recognized as English words and hence matched with the English words for possible match. Here, the mismatch occurs and hence my problem.
Is there any way google supports Japanese voice recognition.
Adding this if someone else finds this post helpful:
After months of RnD, I found another more accurate offline voice recognition engine i.e Julius. its hard to configure, yet the results are far better than google.
Providing the link below:
https://github.com/tech-sketch/JuliusForAndroid

Using the SSML phoneme element

I am using Visual Basic.net Ultimate, and am developing a TTS application. May I please have some help with the phoneme element.
Here is the text that I wish to speak:
As you release the tension in your shoulders and neck, take another deep breath in... and out.
Currently, the two words "breath in" seem to be running together and sound like "breath thin"
I would like to (via SSML) modify this statement so that the words sound like "breath in."
What would be the best way to do this via SSML? I am thinking that the phoneme element is the best way to do this.
Here is an example I have found to pronounce the word tomato:
<phoneme alphabet="ipa" ph="təˈmeɪ.ɾoʊ"> tomato </phoneme>
The text between the ph section of the above code seems to be totally in a different language (:)). How do I use this language to spell out a word?
This "totally different language" is the International Phonetic Alphabet. That's why on the same line it says: alphabet="ipa".
Different TTS systems use different phonetic representations of sounds, the IPA being one that some systems support.
I think for what you are doing a break tag would be more appropriate, as you are not looking to change the systems pronunciation of a word, but instead you wish for it to have a short pause between the two words.
If you specify which TTS engine you are using I can try to help more.

WinRT & XAML - Resource Files but for a language not localization?

Roughly, reading up on localization and Visual Studio 2012 C# and XAML for a windows store app pointed me here:
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/Hh965329.aspx
This shows how to create a resource file for, say, en-US and fr-FR, which are US English and France French. Shows you how to use the the resource loader to load it. That's good and using the UID in Xaml page to load it automatically.
However, my confusion comes with, say, I want to create a Spanish resource file. But I want to have it used for any spanish language localization. If I set it up for mx-ES, what happens if the localization is pe-Es for Peruvian Spanish or es-ES for Spain Spanish. Basically, i am a little confused on how I make 1 resource apply to all English or all French or all Spanish without it being bound by the country and without having to make a seperate resource file for every country/language combination.
I thought this would be an easy question, but I haven't seen where anyone has asked it yet.
Use just the language code for the culture so ES instead of es-ES.

Microsoft Speech API to read a french text

I would like to build an application that reads french text. I have already developed the app and it is able to read the text in English. I only need how to pass a parameter to the speech API so that it would speak in French.
Thanks in advance
Did you check this ? http://www.mperfect.net/speechSamples/
You need a French voice. Unfortunately, there aren't any free French voices available for SAPI 5 (and therefore usable with the .NET framework).
What programming language are you using?

Spanish voice for System.Speech.Synthesis and TTSEngine

I have successfully managed to get System.Speech.Synthesis to read English text in arbitrary voices Anna and Sam. My next task is to localize my application to correctly read Spanish text to our Spanish-speaking clientele.
However, I don't think I am asking the right questions, b/c I cannot find in documentation, forum, group or technology write-up any clear explanation on how this might be done.
1st: Am I correct in saying that there is no setting on the SpeechSynthesizer class or any other Text-To-Speech object? In other words, is it only a matter of installing the correct voice that will read with a Spanish "accent"?
2nd: How does one do this? I have seen links for Spanish libraries that I have tried installing, but I am never able to see these new voices in my Windows XP Speech control panel or in my application's GetInstalledVoices() call.
I am using .Net 3.5 SP 1 one Windows XP SP3, and my code is using Visual Studio 2..8.
If I am missing details, please let me know.
I would appreciate any help.
V
having done this before..
First thing you need to do is get a spanish "Voice Font"..
See http://www.naturalvoices.att.com/
The next thing you need to do is translate your text from english to spanish.
Then you pass your spanish translation into the TTS engine, using the spanish voice font.
Speaker.SelectVoice("<voiceName>");