Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10632 > unrolled thread
| Started by | "McHale, Paul" <Paul.McHale@excelitas.com> |
|---|---|
| First post | 2012-06-26 08:48 +0000 |
| Last post | 2012-06-27 08:11 +0000 |
| Articles | 4 — 3 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Can someone read these line "aloud" "McHale, Paul" <Paul.McHale@excelitas.com> - 2012-06-26 08:48 +0000
Re: Can someone read these line "aloud" Yves Klett <yves.klett@googlemail.com> - 2012-06-27 08:08 +0000
Re: Can someone read these line "aloud" Richard Fateman <fateman@cs.berkeley.edu> - 2012-06-27 08:11 +0000
Re: Can someone read these line "aloud" Richard Fateman <fateman@cs.berkeley.edu> - 2012-06-27 08:11 +0000
| From | "McHale, Paul" <Paul.McHale@excelitas.com> |
|---|---|
| Date | 2012-06-26 08:48 +0000 |
| Subject | Can someone read these line "aloud" |
| Message-ID | <jsbt1n$6on$1@smc.vnet.net> |
Can anyone help me with proper Wolfram "lingo"? If you were reading these aloud to someone, what words would you use? For instance. I have heard "/; " or "/." is pronounced "given that". Not sure which. Is there any list of the verbal equivalents?
list /. x_ :> SuperStar[x] /; x > 9
list /. {i_ /; i >= 10 :> SuperStar[i]}
Paul McHale | Electrical Engineer, Energetics Systems | Excelitas Technologies Corp.
Phone: +1 937.865.3004 | Fax: +1 937.865.5170 | Mobile: +1 937.371.2828
1100 Vanguard Blvd, Miamisburg, Ohio 45342-0312 USA
Paul.McHale@Excelitas.com
www.excelitas.com
Please consider the environment before printing this e-mail.
This email message and any attachments are confidential and proprietary to Excelitas Technologies Corp. If you are not the intended recipient of this message, please inform the sender by replying to this email or sending a message to the sender and destroy the message and any attachments.
Thank you
[toc] | [next] | [standalone]
| From | Yves Klett <yves.klett@googlemail.com> |
|---|---|
| Date | 2012-06-27 08:08 +0000 |
| Message-ID | <jsef25$i54$1@smc.vnet.net> |
| In reply to | #10632 |
FWIW, you can try Speak, although in this case the output is not really
comprehensive:
Speak[x_ :> SuperStar[x] /; x > 9]
Regards,
Yves
Am 26.06.2012 10:48, schrieb McHale, Paul:
> Can anyone help me with proper Wolfram "lingo"? If you were reading these aloud to someone, what words would you use? For instance. I have heard "/; " or "/." is pronounced "given that". Not sure which. Is there any list of the verbal equivalents?
>
>
> list /. x_ :> SuperStar[x] /; x > 9
>
> list /. {i_ /; i >= 10 :> SuperStar[i]}
>
>
>
>
>
> Paul McHale | Electrical Engineer, Energetics Systems | Excelitas Technologies Corp.
>
> Phone: +1 937.865.3004 | Fax: +1 937.865.5170 | Mobile: +1 937.371.2828
> 1100 Vanguard Blvd, Miamisburg, Ohio 45342-0312 USA
> Paul.McHale@Excelitas.com
> www.excelitas.com
>
>
>
> Please consider the environment before printing this e-mail.
> This email message and any attachments are confidential and proprietary to Excelitas Technologies Corp. If you are not the intended recipient of this message, please inform the sender by replying to this email or sending a message to the sender and destroy the message and any attachments.
> Thank you
>
>
>
[toc] | [prev] | [next] | [standalone]
| From | Richard Fateman <fateman@cs.berkeley.edu> |
|---|---|
| Date | 2012-06-27 08:11 +0000 |
| Message-ID | <jsef6u$i7o$1@smc.vnet.net> |
| In reply to | #10632 |
On 6/26/2012 1:48 AM, McHale, Paul wrote:
> Can anyone help me with proper Wolfram "lingo"?
If you were reading these aloud to someone, what words would you use?
For instance. I have heard "/; " or "/." is pronounced "given that".
Not sure which. Is there any list of the verbal equivalents?
Well, which is it? I think neither reflects the proper meaning
of rule application etc. So my answer is: neither .
>
>
> list /. x_ :> SuperStar[x] /; x > 9
sure.
ReplaceAll of list and RuleDelayed of Pattern of x blank and
Condition of SuperStar of x when Greater of x and 9.
This is yet another reason to use FullForm, from which
the above is a trivial modification. You can have a program
speak this out loud in some browsers equipped suitably.
see http://www.w3.org/TR/voice-tts-reqs/
or see tts (text to speech) add-ons for implementation.
I think you need to decide how to vocalize the mathematical expression
f(x,y) or Mathematica f[x,y].
It could be f of x and y or for special forms you might
use different filler words.
Thus Table{q,{i,a,b}] would by default be
Table of q and list i and a and b, but could be improved as, say,
Table of q using iteration for i from a to b.
If you want to speak
a*(b+c+d)
you need to be able to distinguish
Times of a and Plus of b and c and d
from
a*(b+c)*d
Times of a and Plus of b and c and d
perhaps by
Times of a and Plus of b and c EndPlus and d.
You could also try to improve some of the other vocalizations from the
default, even going so far as to vocalize Times[a,b]
as "a times b".
and a*(b+c)*d as a times quantity b plus c end times d.
You may be disappointed that I haven't told you how to pronounce /; and
:>, but I think that kind of pales in comparison to the fact that you
can't unambiguously speak expressions with ordinary arithmetic without
some help.
There is a modest literature on TTS for math, starting from the
Aster program.
I think that the default TTS program for Mathematica, assuming a
speech API is available, would be less than 1/3 a page of code.
An alternative is of course to spell everything out like
ay asterisk open paren bee plus see plus dee close paren slash dot x
blank right arrow blah blah.
There are worse alternatives like using MathML, OpenMath, ...
RJF
>
[toc] | [prev] | [next] | [standalone]
| From | Richard Fateman <fateman@cs.berkeley.edu> |
|---|---|
| Date | 2012-06-27 08:11 +0000 |
| Message-ID | <jsef7s$i86$1@smc.vnet.net> |
| In reply to | #10632 |
On 6/26/2012 1:48 AM, McHale, Paul wrote: > Can anyone help me with proper Wolfram "lingo"? Oh, I just checked .. my current Mathematica has a Speak[] command which you could use for guidance. e.g. -> is pronounced "goes to" However, Speak[A*(B + C*(D + E) + F)] and Speak[A*(B + C*(D + E + F))] sound the same. also Speak[f[x&&y,z] Speak[f[x,y&&z] sound the same. So Mathematica's Speak is apparently inadequate. (version 8) My experience in this area comes from writing program to LISTEN to speech that denotes math. That is input to programs like Mathematica from a microphone. (one example being a mobile phone).
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web