Closed timmahrt closed 2 years ago
This is in Praatio 5.0 now.
textgrid.openTextgrid() had an optional parameter readRaw
. This was renamed to includeEmptyIntervals
and made required.
For textgrid instance tg, tg.save
there were two optional arguments format
and ignoreBlankSpaces
. ignoreBlankSpaces
was changed to includeBlankSpaces
(the variable was renamed and the logic flipped in the code).
Both parameters were made required.
Here are examples of the new interface
textgrid.openTextgrid(
fn=name,
includeEmptyIntervals=False
)
tg.save(
fn=name,
format= "short_textgrid",
includeBlankSpaces= "false"
)
I will close this issue once Praatio 5.0 is released.
Praatio 5.0 is now released!
New features are added in a backwards compatible way--they are given default values--but this has obscured some important functionality.
These parameters should be changed to be required so that users are forced to make mindful decisions about how praatio manipulates their data.