FragmentState.Emphasis Propriedade
Definição
Retorna as instruções sobre como enfatizar um TextFragment.Returns instructions on how to emphasize a TextFragment.
public:
property int Emphasis { int get(); };
public int Emphasis { get; }
member this.Emphasis : int
Public ReadOnly Property Emphasis As Integer
Valor da propriedade
Retorna um valor int indicando como enfatizar um TextFragment.Returns an int value indicating how to emphasize a TextFragment.
Comentários
A interpretação do valor retornado por Emphasis depende do TtsEngineAction valor retornado pela Action propriedade no atual FragmentState .The interpretation of the value returned by Emphasis depends on the TtsEngineAction value returned by the Action property on the current FragmentState.
Se o valor de Action for SilenceIf the value of Action is Silence
Se Emphasis for positivo, o valor retornado deverá ser interpretado como o comprimento do silêncio em milissegundos.If Emphasis is positive, the value returned should be interpreted as the length of the silence in milliseconds.
Se Emphasis for negativo, o valor retornado deverá ser interpretado como membro do EmphasisBreak .If Emphasis is negative, the value returned should be interpreted as a member of the EmphasisBreak.
Informações de ênfase retornadas pelo Emphasis quando a propriedade Action é Silence correspondente aos atributos do
<break>elemento de entrada SSML para um mecanismo de sintetizador de fala.Emphasis information returned by Emphasis when the property Action is Silence corresponds to the attributes of the<break>element of SSML input to a speech synthesizer engine.Para todos os outros valores de Action , os Emphasis valores devem ser interpretados como sendo de EmphasisWord .For all other values of Action, the Emphasis values should be interpreted as being of EmphasisWord.
As informações de ênfase retornadas pelo Emphasis para palavras faladas correspondem aos atributos do
<emphasis>elemento da entrada SSML a um mecanismo de sintetizador de fala.Emphasis information returned by Emphasis for spoken words corresponds to the attributes of the<emphasis>element of SSML input to a speech synthesizer engine.