textgrid_to_df {phonfieldwork} | R Documentation |
TextGrid to dataframe
Description
Convert Praat TextGrid to a dataframe.
Usage
textgrid_to_df(file_name)
Arguments
file_name |
string with a filename or path to the TextGrid |
Value
a dataframe with columns: id
, time_start
,
time_end
(if it is an interval tier – the same as the start value),
content
, tier
, tier_name
and source
Author(s)
George Moroz <agricolamz@gmail.com>
Examples
textgrid_to_df(system.file("extdata", "test.TextGrid",
package = "phonfieldwork"
))
# this is and example of reading a short .TextGrid format
textgrid_to_df(system.file("extdata", "test_short.TextGrid",
package = "phonfieldwork"
))
[Package phonfieldwork version 0.0.17 Index]