![]() Tiers = Get number of duplicate_position$, findNumberForTier. Praat source code form Duplicate a TextGrid tier #> # A tibble: 7 x 2 #> tier_num tier_name #> #> 1 1 duplicate-is-first #> 2 2 words #> 3 3 duplicate-is-before #> 4 4 phones #> 5 5 duplicate-is-after #> 6 6 silence #> 7 7 duplicate-is-last # We duplicated "phones" four times and # placed the copy into separate locations tg_out %>% readtextgrid :: read_textgrid() %>% magrittr :: extract( c( "tier_num", "tier_name")) %>% unique() ![]() #> # A tibble: 3 x 2 #> tier_num tier_name #> #> 1 1 words #> 2 2 phones #> 3 3 silence f_duplicate_tier % f_duplicate_tier( "phones", "duplicate-is-first", "first", tg_out) %>% f_duplicate_tier( "phones", "duplicate-is-last", "last", tg_out) %>% f_duplicate_tier( "phones", "duplicate-is-after", "after", tg_out) %>% f_duplicate_tier( "phones", "duplicate-is-before", "before", tg_out) # Use the PATH to find praat praat_path % readtextgrid :: read_textgrid() %>% magrittr :: extract( c( "tier_num", "tier_name")) %>% unique() HQ 20090310 removed bug in computation of sent2d This script requires that two Sound objects and two TextGrid objects are selected when the script is. Read write and edit Praat’s TextGrid files. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |