WP 8 Speech Recognizer in Portuguese - windows-phone-8

I'm trying to implement a STT(SpeechToText) app in VS2012 Express that should recognize Portuguese phrases and show it in a TextBlock. I've already tried to change Speech Settings on the Emulator to Portuguese, but when I run the program, it says that "the language is not supported". Could anyone help me?

Not all even installed languages support dictation recognition.
You can get supported languages list like follow:
IReadOnlyCollection<SpeechRecognizerInformation> speechRecognizers = InstalledSpeechRecognizers.All;
If I'm not mistaken only pt-BR is supported. So you may need change region to Brazil to make it work in Portuguese.

Related

Offline voice recognition functionality?

If anyone has any input on if it is possible to include offline voice recognition in Windows Phone 8.1 or Windows UWP 10 I would appreciate any input! The online functionality works great for windows phone 8.1, but the app I am developing will need to be used offline in some cases.
The short answer to your question is no.
Predefined grammars like dictation grammar and web-search grammars are online. They can't work offline.
These predefined grammars can be used to recognize up to 10 seconds of speech input and require no authoring effort on your part. However, they do require connection to a network.
I don't know the details of your requirement. But you can try to use Custom grammars like Programmatic list constraints and SRGS grammar to implement it as they can work without Internet. For more info, please see Speech interactions and the official Speech recognition and synthesis sample in GitHub.
Also you can vote on UserVoice to ask for the offline voice recognition feature.

Windows Phone 8 app translation

I am trying to develop a mobile application on Windows Mobile 8 in Hindi language. More precisely, I have an application in that only supports the English language and would like to add Hindi language support to it. The application can be found here on the Windows store.
I am interested in building it in Hindi in the same codebase. Any ideas on how to add Hindi language in the application?
You can find detailed information to help you translate your app on Microsoft's How to build a localized app for Windows Phone 8 page. Here's the most important part for what you want, but I advise reading the whole thing:
To add additional languages
After you have created and tested your app using a neutral language, you can add supported languages.
On the project’s Properties page, in the Supported Culture box, select the language(s) you would like your app to support.
Save the project.
Note:
Visual Studio has created a new resource file for each supported language that is a copy of the neutral resource file (AppResources.resx) and renamed it to include the locale code that reflects the new resource file’s Culture.
Replace the neutral language values in each supported language resource file with translated values.
Caution:
To insure that the correct description of the localized languages for your app will be seen by users in the Windows Phone Store, use the following practices: If you need to remove a Supported Culture that you have added (by clearing the selection in the list in Project Properties) be sure to remove the associated Supported Language in WMAppManifest.xml (using the list in Manifest Designer > Supported Language > Packaging). Also, ensure that you understand the impact before modifying the Supported Languages list or Default Language in WMAppManifest.xml.
Hindi is one of the supported languages. If you need to check to see if any given language is supported, you can do so at the Windows Phone 8 Feature and service availability page. This currently includes:
Albanian, Arabic, Azerbaijani, Basque (Basque), Belarusian, Bosnian (Latin), Bulgarian, Catalan, Chinese (Simplified and Traditional), Croatian, Czech, Danish, Dutch, English (UK and US), Estonian, Filipino, Finnish, French, Galician, German, Greek, Hausa, Hebrew, Hindi, Hungarian, Igbo, Indonesian, Italian, Japanese, Kazakh, Korean, Latvian, Lithuanian, Macedonian, Malay, Norwegian (Bokmål), Persian, Polish, Portuguese (Brazil and Portugal), Romanian, Russian, Serbian (Latin), Slovak, Slovenian, Spanish (Mexico and Spain), Swedish, Thai, Turkish, Ukrainian, Uzbek, Vietnamese, Yoruba.

How to correctly choose languages support in Windows Phone 8 project?

Environment:
Win 8.1 Pro upodate 1
VS2013 Ultimate
Windows Phone 8 project
I need to add french support in my projects, and here comes the problem?
I see lots of french options in the Supported Culture, with English and French... The picture is as below
my questions are:
What's differences between [French] and [French(Monaca)]? Is the
[French] option equals to a base class?
What does [francais] mean there? I notice that there is a [French] but there is not a
[francais]. What's difference between the two? Why Microsoft adds a
French options in French language?
If I want to support French, What
should I do? Can I only choose the [French] to meet my requirement?
Every culture/language has base culture, in case of French, French is base culture and will work for all other subcultures of french like french(Monaca) etc...
I guess for some language/culture setting on your machine is showing culture names in both language as I cannot see Francais in my VS2013(Ultimage with update 2).
I think selecting French or Francais is the same.
P:S your question states Correctly chose language support but here you are selection only culture. to correctly support language in windows phone 8 go to WMAppManifest.xaml(Project properties) and select Packaing tab and select Supported languages you want to support in your app.
Hope this helps.

voice based translation from one language to another in windows phone os

My project is to do a translator based on the voice only .The user need to give the input in the form of voice in their native language. Then the system need to produce the translation in the user preferred language. The problem for is the i don't know how to set the voice recognition in different language . please help me. thanks in advance i am doing this in windows phone 8 .
There are APIs for Windows Phone, but you will need to use two to accomplish what you are trying to do. First, you need to use the speech recognition to convert the speech to text. Then, run this through the Microsoft Translator to translate to another language. Note that for the speech recognition, you should query for the appropriate speech recognizer for the language that is spoken.
See the following links:
Speech Recognition
Microsoft Translator
There's an example here of how to build the Windows Phone 8 app for Translator:
http://blogs.msdn.com/b/translation/p/windowsphone8.aspx
You could use this with voice-captured instead of text-entered input.

WP8 voice commands work only on emulator

I've written a WP8 app that accepts voice commands. I've deployed and tested on the emulator and everything works fine.
However, when deploying and testing on my HTC 8X the voice commands aren't detected, they don't even appear in the 'What can I say' option.
Anyone come across this before? Appreciate the help.
My guess is that the VCD CommandSet xml:lang attribute doesn't match the language and region combination used on your phone. What's the xml:lang for the CommandSets in your VCD file? And what's the language and region used by your phone?The default VoiceCommandDefinition1.xml file defaults to xml:lang="en-US", so is your phone set to the English Language in the US region?
From a development perspective, you'll have to specify a CommandSet for each xml:lang supported by your app.
Also, remember that speech recognition only works for 15-20 cultures (language+region combinations). It could be your phone is one of the unsupported locales and you won't be able to support speech recognition for that culture at all.