readtextgrid 0.2.0
CRAN release: 2025-10-27
-
read_textgrid()now manually parses textgrids and can handle short-format textgrids. (#4, #16, initial parser by @JoFrhwld). Part of the parsing is done in C++ so the new manual parser is faster than the legacy version. - The new parser is documented in a non-package supplemental vignette called “Textgrid specification” on the package website.
- Original package functions are available in
legacy_read_textgrid(). -
legacy_read_textgrid()un-escapesA ""quote"" wordtoA "quoted" word. -
legacy_read_textgrid()can handle interval text with line breaks in them. - New function
pivot_textgrid_tiers()to pivot out nested textgrid intervals into a wide dataframe. For example, if a forced aligner has awordsandphonestier, we can pivot thewordsandphonesintervals into a dataframe with one row perphonesintervals and with columnswords,words_xmin,words_xmax,phones,phones_xmin,phones_xmax, etc. (#10, request of @stefanocoretta) - Testing suite includes a short-format textgrid, a short-format textgrid with inline comments, and a textgrid with escaped
"characters. (@JoFrhwld) - Testing suit includes an adversarial textgrid to challenge parsing.
- Support ELAN-generated textgrids. (#11, @djvill)
- Raised required R version to 4.3.0. (April 2023)
readtextgrid 0.1.2
CRAN release: 2024-03-07
- Add
encodingargument toread_textgrid(). (#7, #8, #9, @jonorthwash) - Include example UTF-16 textgrid for testing.
- Remove magrittr dependency. (#5, @JoFrhwld)
