Squeak Class Documentation category index | class index  
 
DurationsVisitor
  category: Speech-TTS
  superclass: UtteranceVisitor
  subclasses:

This is an implementation of the Klatt rule system as described in chapter 9 of "From text to speech: The MITalk system", Allen, Hunnicutt and Klatt.

instance methods
  accessing
  defaultDurationFor:
inherentDurationAt:
inherents
inherents:
lowerDurationAt:
lowers
lowers:
speed
speed:

  rules
  rule10
rule2
rule3
rule3b
rule4
rule5
rule6
rule7
rule8
rule9a
rule9a:next:nextnext:
rule9b
subRule9a:

  visiting
  clause:
phrase:
speaker:
syllable:
word:

class methods
  examples
  default

  instance creation
  inherents:lowers:

instance methods
  accessing top  
 

defaultDurationFor:

Some hardcoded durations for phonemes.


 

inherentDurationAt:


 

inherents


 

inherents:


 

lowerDurationAt:


 

lowers


 

lowers:


 

speed


 

speed:


  rules top  
 

rule10

Rule 10: Shortening in clusters.


 

rule2

Rule 2: Clause Final Lengthening.


 

rule3

Rule 3: Non-phrase-final shortening.
Syllabic segments are shortened by 60 if not in a phrase-final syllable.


 

rule3b

A phrase-final postvocalic liquid or nasal is lengthened by 140


 

rule4

Rule 4: Non-word-final shortening.
Syllabic segments are shortened by 85 if not in a word-final syllable.


 

rule5

Rule 5: Polysyllabic Shortening.
Syllabic segments in a polysyllabic word are shortened by 80.


 

rule6

Rule 6: Non-initial-consonant shortening.


 

rule7

Rule 7: Unstressed shortening.


 

rule8

Rule 8: Lengthening for emphasis.


 

rule9a

Rule 9a: Postvocalic context of vowels.


 

rule9a:next:nextnext:

Rule 9a: Postvocalic context of vowels.


 

rule9b

Rule 9b: Postvocalic context of vowels.


 

subRule9a:

Sub-rule 9a, independent of segment position.


  visiting top  
 

clause:


 

phrase:


 

speaker:


 

syllable:


 

word:


class methods
  examples top  
 

default


  instance creation top  
 

inherents:lowers: