WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

SpokenString [expr]

gives a string of text corresponding to a spoken representation of the expression expr.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Options  
"ArraySizeLimit"  
"DetailedGraphics"  
"ExpressionDepthLimit"  
Show More Show More
"IncludeParentheses"  
"IntegerLimit"  
"PostProcess"  
"RealPrecisionLimit"  
"StringLengthLimit"  
Properties & Relations  
Neat Examples  
See Also
Related Guides
History
Cite this Page

SpokenString [expr]

gives a string of text corresponding to a spoken representation of the expression expr.

Details and Options

  • SpokenString [expr] works with mathematical expressions, programs, graphics, and other constructs.
  • SpokenString [HoldForm [expr]] gives a representation of the held form of expr, without evaluation.
  • SpokenString attempts to give naturally worded speech rather than literal representations of expression structure.
  • The following options can be given:
  • "ArraySizeLimit" Infinity maximal number of elements of an array or arguments of a function
    "DetailedGraphics" False controls the description of graphics primitives
    "ExpressionDepthLimit" Infinity maximal depth of an expression allowed in the output
    "IncludeParentheses" False controls the delimiting of subexpressions
    "IntegerLimit" Infinity maximal integer that will be given with all its digits
    "PostProcess" True whether to remove special formatting used by Speak from the output
    "RealPrecisionLimit" 3 how many significant digits to include in approximate numbers
    "StringLengthLimit" Infinity maximal number of characters in strings and symbol names
  • "ArraySizeLimit" and "ExpressionDepthLimit" control the size of all output expressions, including the representation of graphics.
  • The options controlling the size specify the level of complexity at which to begin eliding parts of the output rather than the exact count of elements in the output.
  • SpokenString ["str"] always returns "str". SpokenString [HoldForm ["str"]] returns a processed version of the string, affected by the options.
  • SpokenString [Unevaluated [expr]] also gives a representation of the held form of expr.

Examples

open all close all

Basic Examples  (2)

Give a spoken representation of a formula:

Give a spoken description of a graphic:

Scope  (4)

Describe mathematical expressions and functions:

Describe programming constructs:

Describe a plot:

Describe a graphics object:

Options  (8)

"ArraySizeLimit"  (1)

Limit the number of arguments included in the text:

"DetailedGraphics"  (1)

Include a detailed description of graphics primitives:

"ExpressionDepthLimit"  (1)

Limit the depth of subexpressions included in the text:

"IncludeParentheses"  (1)

Use simplified delimiting of subexpressions:

Include left and right parentheses in the text:

"IntegerLimit"  (1)

Set a threshold for exact integers and rationals:

"PostProcess"  (1)

Show the text with the markup used by the speech engine:

"RealPrecisionLimit"  (1)

Set a threshold for number of digits in reals:

"StringLengthLimit"  (1)

Limit the length of strings in the text:

Properties & Relations  (1)

Use Speak to hear the string produced by SpokenString :

Neat Examples  (1)

Describe a mathematical expression:

Use the result as a Wolfram|Alpha query:

See Also

Speak   SpeechSynthesize   TraditionalForm

Function Repository: SymbolNameTranslate

Wolfram Research (2008), SpokenString, Wolfram Language function, https://reference.wolfram.com/language/ref/SpokenString.html (updated 2012).

Text

Wolfram Research (2008), SpokenString, Wolfram Language function, https://reference.wolfram.com/language/ref/SpokenString.html (updated 2012).

CMS

Wolfram Language. 2008. "SpokenString." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2012. https://reference.wolfram.com/language/ref/SpokenString.html.

APA

Wolfram Language. (2008). SpokenString. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SpokenString.html

BibTeX

@misc{reference.wolfram_2025_spokenstring, author="Wolfram Research", title="{SpokenString}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/SpokenString.html}", note=[Accessed: 16-November-2025]}

BibLaTeX

@online{reference.wolfram_2025_spokenstring, organization={Wolfram Research}, title={SpokenString}, year={2012}, url={https://reference.wolfram.com/language/ref/SpokenString.html}, note=[Accessed: 16-November-2025]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /