Spelling

The Spelling generator type supports the following constructors:

  • (String string)

  • (String string, Boolean punctuation)

  • (Object object)

  • (Object object, Boolean punctuation)

The three parameters are:

  • String—String object to be played back.

  • Object—Object for which the string representation returned by the String.valueOf() method should be spelled out.

  • Punctuation—An optional Boolean flag indicating whether to play spaces, punctuations, and special characters normally or as silences.

Note

Punctuation default behavior in the Spelling generator is different from Play-all default behavior in the Character generator.