Description Usage Arguments Examples
This function returns a data frame of the Intervals from an Interval Tier.
1 | getTierIntervals(interval_tier, discard_empty = FALSE)
|
interval_tier |
an IntervalTier returned from getTierByName() or getTierByNumber() |
discard_empty |
boolean FALSE (default) or TRUE. Indicates whether intervals with no text in them should be discarded in selection. |
1 2 3 4 5 6 7 8 9 | # Get intervals from "word" tier from data in mytg.TextGrid
tg_data <- readTextGrid("mytg.TextGrid")
word_tier <- getTierByName(tg_data, "word")
word_intervals <- getTierIntervals(word_tier)
# You may also chain with %>% from dplyr
readTextGrid("mytg.TextGrid") %>%
getTierByName("word") %>%
getTierIntervals()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.