cati commited on
Commit
28c0978
1 Parent(s): 0dcb21c
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -23,11 +23,12 @@ with bl:
23
 
24
 
25
  with gr.Tabs():
26
- with gr.TabItem("One"):
27
  gr.Markdown(
28
  """
29
  # Long and short Icelandic vowels
30
- Choose a word, speaker group, and aligner type. Available speaker groups are native speakers, second-language speakers, or all. Aligner options are Montreal Forced Aligner (MFA) and CTC decoding with Wav2vec-2.0.
 
31
 
32
  The general expectation is that syllables with long stressed vowels followed by short consonants have a higher vowel:consonant duration ratio, while syllables with short stressed vowels followed by long consonants have a lower vowel:consonant ratio. However, a great many other factors affect the relative duration in any one recorded token. See Pind 1999, 'Speech segment durations and quantity in Icelandic' (J. Acoustical Society of America, 106(2)) for a review of the acoustics of Icelandic vowel duration.
33
 
@@ -57,7 +58,7 @@ with bl:
57
  btn2.click(manager, [wmenu2, lmenu2, amenu2, btn2], pl2)
58
 
59
 
60
- with gr.TabItem("Two"):
61
  gr.Markdown(
62
  """
63
  # Forced alignment demo with CTC decoding
 
23
 
24
 
25
  with gr.Tabs():
26
+ with gr.TabItem("Vowel quantity"):
27
  gr.Markdown(
28
  """
29
  # Long and short Icelandic vowels
30
+
31
+ Choose a word, speaker group, and aligner type. Available speaker groups are native speakers, second-language speakers, or all. Aligner options are Montreal Forced Aligner (MFA) and CTC decoding with Wav2vec-2.0.
32
 
33
  The general expectation is that syllables with long stressed vowels followed by short consonants have a higher vowel:consonant duration ratio, while syllables with short stressed vowels followed by long consonants have a lower vowel:consonant ratio. However, a great many other factors affect the relative duration in any one recorded token. See Pind 1999, 'Speech segment durations and quantity in Icelandic' (J. Acoustical Society of America, 106(2)) for a review of the acoustics of Icelandic vowel duration.
34
 
 
58
  btn2.click(manager, [wmenu2, lmenu2, amenu2, btn2], pl2)
59
 
60
 
61
+ with gr.TabItem("CTC alignment"):
62
  gr.Markdown(
63
  """
64
  # Forced alignment demo with CTC decoding