tg.repairContinuity: tg.repairContinuity

Description Usage Arguments Value See Also Examples

View source: R/tg.R

Description

Repairs problem of continuity of T2 and T1 in interval tiers. This problem is very rare and it should not appear. However, e.g., automatic segmentation tool Prague Labeller produces random numeric round-up errors featuring, e.g., T2 of preceding interval is slightly higher than the T1 of the current interval. Because of that, the boundary cannot be manually moved in Praat edit window.

Usage

1
tg.repairContinuity(tg, verbose = TRUE)

Arguments

tg

TextGrid object

verbose

[optional, default=TRUE] If FALSE, the function performs everything quietly.

Value

TextGrid object

See Also

tg.sampleProblem

Examples

1
2
3
4
5
6
## Not run: 
tgProblem <- tg.sampleProblem()
tgNew <- tg.repairContinuity(tgProblem)
tg.write(tgNew, "demo_problem_OK.TextGrid")

## End(Not run)

rPraat documentation built on Feb. 28, 2021, 1:06 a.m.