tg.read: tg.read

Description Usage Arguments Value See Also Examples

View source: R/tg.R

Description

Loads TextGrid from Praat in Text or Short text format (UTF-8), it handles both Interval and Point tiers. Labels can may contain quotation marks and new lines.

Usage

1
tg.read(fileNameTextGrid, encoding = "UTF-8")

Arguments

fileNameTextGrid

Input file name

encoding

File encoding (default: "UTF-8"), "auto" for auto-detect of Unicode encoding

Value

TextGrid object

See Also

tg.write, tg.plot, tg.repairContinuity, tg.createNewTextGrid, tg.findLabels, tg.duplicateTierMergeSegments, pt.read, pitch.read, formant.read, it.read, col.read

Examples

1
2
3
4
5
## Not run: 
tg <- tg.read("demo/H.TextGrid")
tg.plot(tg)

## End(Not run)

rPraat documentation built on Dec. 9, 2018, 1:04 a.m.