×
Namespaces

Variants
Actions

Talk:Speech Enabled Calculator For Windows Phone 8

From Nokia Developer Wiki
Jump to: navigation, search

Contents

Hamishwillee - Still supposed to be in draft?

Let me know when this is ready to be reviewed by removing the "Draft" category

hamishwillee 02:39, 7 December 2012 (EET)

Vinayppatil -

Yeah. Will be done today. Will let you know.

Regards,

Vinay

vinayppatil 05:48, 7 December 2012 (EET)

Vinayppatil - Done with wiki

Hi Hamish,

I am done with creating this wiki page. Removed draft category as well. It is open for review now.


Regards,

Vinay

vinayppatil 06:25, 7 December 2012 (EET)

Hamishwillee - Thanks, hope to review tomorrow

Thanks, I hope to review tomorrow

Note, matchedOpernad is probably typo - matchedOperand

I've been thinking about this and I think the single digit calculator is pretty straightforward. The hard bit will be handling larger numbers like 134545 - since presumably you need to define all the possible <ListenFor> {number1} {operator} {number2} </ListenFor>

{number1}{number2}{number3}{number4} {operator} {number5}{number6} etc and all possible variants for the different number of numbers that might be specified.

You might be better off for this case using voice commands only to trigger off a speach to text session, then manually parse the output. A bit annoying you can't get the contents of a wildcard, as that would make this simpler.

Cheerio

H

hamishwillee 08:32, 12 December 2012 (EET)

Hamishwillee - Subedit/Review

HI Vinay

OK, I have given this a basic subedit for Wiki style and English. The main change is to the structure - I've more clearly separated the "basic calculator" and voice control stuff. I know it is tempting to have the "main selling point first" but it doesn't work too well, if you then go on talking about the other bits. I've also fixed typographic errors. Please check you're still happy

I don't really like the "Voice Commands Overview" because it isn't very clear. Not sure best way to improve it (I tidied a little bit).

I propose renaming, because its useful to include the platform (WP) in the name. Something like "Talking Calculator for Windows Phone" or "Speech enabled Calculator for Windows Phone"

In terms of implemenation, do you need to define both number1 and number2 in the phrase list - can't you just do:

<ListenFor> {number} {operator} {number} </ListenFor> 

If so this is good.

In terms of suggestions, I think that the best thing you could do is not leave "support for bigger numbers" to the user to implement, since this is the "hard" technical problem. I have no idea of the best way to do this - even just adding support for two numbers is hard, and the below assumes that people have to enter eleven as one one.

{number} {operator} {number}
{number}  {number} {operator} {number}
{number} {operator} {number} {number}
{number} {number} {operator} {number} {number}

Otherwise thanks, well written. Regards

H

hamishwillee 06:20, 13 December 2012 (EET)

Vinayppatil - Thanks

Hi Hamish,

Thanks for reviewing the code. I am very happy with the changes you made. And thanks for suggesting names for this wiki page. Even i was not too happy with the name. I will change it soon.

<ListenFor> {number} {operator} {number} </ListenFor>

If we do this it will be difficult to fetch parameters from the query string.

Also regarding "support for bigger numbers", yes it is complex in terms of implementation that's why i had included it in "TODO" section. But i will see if i can include it here. I am also adding speech recognition support in this wiki.

Regards,

Vinay

vinayppatil 08:34, 13 December 2012 (EET)

Hamishwillee - Thanks!

>If we do this it will be difficult to fetch parameters from the query string.

Of course, makes perfect sense. It might be worth adding a Note explaining this (completely up to you)

Looking forward to seeing what you come up with! A solution to the support for bigger numbers problem would certainly set this article apart.

Regards

Hamish

hamishwillee 01:41, 14 December 2012 (EET)

Vinayppatil - Wiki modified

Hi Hamish,

I modified the whole logic. As per your suggestions now voice commands can only invoke the app and speech input is taken using Speech Recognition instead of Voice Commands.

And RegExp helped me solve problem with bigger numbers. Have a look at Parsing_Matched_Commands

It will be of great help if you can review the added content as i did it in very short time.

Regards,

Vinay

vinayppatil 10:43, 14 December 2012 (EET)

Vinayppatil - Changed title

Hi Hamish,

Also i moved "Taking Calculator" to "Speech Enabled Calculator For Windows Phone 8". Kindly change it in competition entries section.

Regards,

Vinay

vinayppatil 12:12, 14 December 2012 (EET)

Hamishwillee - I don't have time to subedit sorry

However I have reviewed, and I like your improvements.

If I had to make one suggestion, it would be describing how your article works - ie uses both recognition and voice commands (and why) as part of the introduction or of the introduction to section - because the reasons you did this are interesting and important. Something for you to think about - not part of the competition.

Regards

Hamish

hamishwillee 06:12, 19 December 2012 (EET)

Hamishwillee - or to clarify ...

We know that the voice commands only allow you to create a very inflexible calculator. This is worth stating, so that people understand why you've just used them to start the app. You don't say this anywhere.

hamishwillee 06:16, 19 December 2012 (EET)

Vinayppatil - missed comments

Hi,

I have no idea how but i missed your comments made on 19 dec and reading them now. Will make the changes ASAP.

Regards,

Vinay

vinayppatil 08:15, 21 December 2012 (EET)

Vinayppatil - Included changes

Hi Hamish, Included the changes in [Introduction] and [Why Use Speech Recognition] sections.

Regards,

Vinay

vinayppatil 10:56, 21 December 2012 (EET)

Aakash95 - what a great wiki

excellent stuff here once again.

Aakash95 04:49, 20 February 2013 (EET)

Vishalsoni - Vishalsoni - error in above code

hello sir

       there is an error in above codewhen we working wih VCD file.

coz there is no recordclicked event is generated .

thanx sir

vishalsoni 15:20, 21 June 2013 (EEST)

Vinayppatil - Can't reproduce the error

Hi Vishalsoni,

I just ran above code and managed to run it without any errors. Could you please explain a bit more about the error you are getting.?

Regards,

Vinay

vinayppatil 13:03, 25 June 2013 (EEST)

Vishalsoni - Re

hello vinayppatil ji

    actually sir in the above code it is successfully run but when ewe click into voice button it is not generating any event coz there is not such type of event is generated in the first code(vcd file)
  
Thanx File

vishalsoni 13:56, 25 June 2013 (EEST)

Vinayppatil - Make sure 'en-US' language pack is installed

Hi Vishalsoni,

Each button in application is associated with correct EventHandler. Please make sure you have 'en-US' language pack installed on your phone. Language pack is necessary for speech recognition to work.

Regards,

Vinay

vinayppatil 07:20, 26 June 2013 (EEST)

 

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×