Marie-Catherine de Marneffe & Micha Elsner

LING 5050 - Technical tools for linguists

Maysession 2016

Homework 3

DUE: Thursday June 2, 2016 (no late homework accepted!)

Part I.

For creating our vowel space plot, we have seen in class that if we have the word from which the vowel comes from, we can do more interesting analyses. Modify the script "DemoScript.praat" so that it outputs a tab-delimited file containing the following information:

  • the filename
  • the word
  • duration of the word
  • the vowel
  • duration of the vowel
  • F1 at midpoint in Hz
  • F2 at midpoint in Hz
  • F1 bark
  • F2 bark

Note that the durations and the barks should have two decimal points, the Hertz no decimal point.

The first line of the file needs to be the following header:

Filename Word WDuration Vowel VDuration F1_Hz F2_Hz F1_bark F2_bark

!!Attention!! This script should work on a TextGrid in which the vowel is coded on tier 1 and the word on tier 2. I will verify your script on sound files and TextGrids I have.

Additionally, you should make sure that a fresh log file is created each time the script is run!

Part II.

You will create two vowel space plots, in R, given the 10 words you recorded at the beginning of the week. For each vowel point, the graphs should plot the word. The first graph has to be created starting from the TextGrid that you manually annotated. You should run a Praat script to extract the necessary information from the TextGrid. The second graph has to come from the TextGrid that you got back from the Penn Forced Aligner.

Think about how you need to modify the Praat script to extract the information you need out of the TextGrid you got back from the Penn Forced Aligner. Think about how the intervals on tier 1 and tier 2 are aligned/non-aligned: one way to go about this is to realize that the vowel starting time will always be contained in the word interval -- we can get the starting time, and we can get the interval number at a specific time using the command: Get interval at time... tier time).

Make sure the graphs have appropriate labels: x-axis, y-axis and main labels!

Attach a document that contains:

  1. the graph you obtained from the TextGrid you manually annotated
  2. the graph you obtained from the TextGrid you got back from the Penn Forced Aligner
  3. the transcription file you gave to the Penn Forced Aligner
  4. an explanation of the transcription file above, making sure to comment on whether the way you provided the transcription makes sense or not
  5. an explanation of how you modified the Praat script to run on the TextGrid you got back from the Penn Forced Aligner
  6. a comment on the differences/similarities of the two graphs you made.