-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
read from formant.txt files based on config.txt
formant.txt files now do not all have to have the same exact format. You can have extra columns, rearrange the columns etc. Just define the name of the relevant column for each variable in config.txt as: VARIABLE : column name # note Note: don’t change the VARIABLE
- Loading branch information
1 parent
bba95db
commit 23c03d1
Showing
5 changed files
with
173 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
ARPABET : vowel # arpabet vowel token (with or without stress) | ||
STRESS : stress # vowel stress (1 = primary, 2 = secondary, 0 = no stress) | ||
WORD : word # word in which the vowel occurs (orthography) | ||
INDEX : index # index of the vowel in the word (ex. in ['W','ER1','D'] the vowel has an index of 1) | ||
F1 : F1 # first formant | ||
F2 : F2 # second formant | ||
TIME : t # time in the sound file at which the formants were measured (seconds) | ||
WORD PRONUNCIATION : allPhones # arpabet pronunciation of the whole word (as a python list ex. ['W','ER1','D']) | ||
MAX FORMANTS : nFormants # the maximum number of formants setting when the F1 and F2 were measured | ||
BEGINNING : beg # time in the sound file the vowel starts at (seconds) | ||
END : end # time in the sound file (seconds) | ||
## everything below this is optional but some options will be limited if they are not implemented | ||
## Note that all the duration measurements (F1@20% etc.) must all be given or none | ||
F1@20% : F1@20% # F1 value (Hz) at 20% of the vowel duration | ||
F2@20% : F2@20% # F2 value (Hz) at 20% of the vowel duration | ||
F1@35% : F1@35% # F1 value (Hz) at 35% of the vowel duration | ||
F2@35% : F2@35% # F2 value (Hz) at 35% of the vowel duration | ||
F1@50% : F1@50% # F1 value (Hz) at 50% of the vowel duration | ||
F2@50% : F2@50% # F2 value (Hz) at 50% of the vowel duration | ||
F1@65% : F1@65% # F1 value (Hz) at 65% of the vowel duration | ||
F2@65% : F2@65% # F2 value (Hz) at 65% of the vowel duration | ||
F1@80% : F1@80% # F1 value (Hz) at 80% of the vowel duration | ||
F2@80% : F2@80% # F2 value (Hz) at 80% of the vowel duration | ||
DURATION : dur # duration of the vowel (seconds) | ||
PRECEDING PHONE : pPhone # preceding arpabet phone | ||
FOLLOWING PHONE : fPhone # following arpabet phone | ||
CELEX : # celex vowel token (optional - this will be automatically generated otherwise) | ||
ALT MEASUREMENTS : poles # lists of formant measurements at 3,4,5,6 maximum formants (ex. [F1@3,F2@3][F1@4,F2@4][F1@5,F2@5][F1@6,F2@6]) |
Oops, something went wrong.