Skip to contents

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-escapes A ""quote"" word to A "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 a words and phones tier, we can pivot the words and phones intervals into a dataframe with one row per phones intervals and with columns words, 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

readtextgrid 0.1.1

CRAN release: 2020-02-17

  • Fixes for CRAN resubmission.

readtextgrid 0.1.0

  • Initial release.