Skip to content

Releases: tjmahr/readtextgrid

readtextgrid 0.2.0

27 Oct 20:05

Choose a tag to compare

  • 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)

v0.1.2

07 Mar 21:17

Choose a tag to compare

  • Add encoding argument to read_textgrid(). (#7, #8, #9, @jonorthwash)
  • Include example UTF-16 textgrid for testing.
  • Remove magrittr dependency. (#5, @JoFrhwld)

v0.1.1

07 Mar 18:31

Choose a tag to compare

  • Fixes for CRAN resubmission.