Sha256: b2a012f99095577deb2366a5900db92d8c355ea0851f13e61ea8092525a54860
Contents?: true
Size: 747 Bytes
Versions: 14
Compression:
Stored size: 747 Bytes
Contents
module RubySpeech module SSML ## # The emphasis element requests that the contained text be spoken with emphasis (also referred to as prominence or stress). The synthesis processor determines how to render emphasis since the nature of emphasis differs between languages, dialects or even voices. # # http://www.w3.org/TR/speech-synthesis/#S3.2.2 # class Desc < Element register :desc VALID_CHILD_TYPES = [Nokogiri::XML::Text, String].freeze def <<(arg) raise InvalidChildError, "A Desc can only accept Strings as children" unless VALID_CHILD_TYPES.include? arg.class super end def eql?(o) super o, :language end end # Desc end # SSML end # RubySpeech
Version data entries
14 entries across 14 versions & 1 rubygems