SegmentationData: 'SegmentationData' Object Initialization

Description Usage Arguments Value Author(s) References See Also Examples

Description

A generic function for initializing a SegmentationData object. Depending on the type of data from which the object is initialized, various correctness checks are performed to ensure validity.

Usage

1
2
3
4
5
SegmentationData(segmentationData, wordlist, forceTierNames = TRUE, ...)
## S4 method for signature 'TextGrid,data.frame,logical'
SegmentationData(segmentationData, wordlist, forceTierNames)
## S4 method for signature 'character,missing,missing'
SegmentationData(segmentationData, wordlist, forceTierNames)

Arguments

segmentationData

A TextGrid object or a character string that points to either a TextGrid file or a tab-separated table on the local filesystem.

wordlist

A data.frame created from a tab-separated table of the wordlist used in one of the tasks in the Learning To Talk project.

forceTierNames

A logical value. If TRUE and the segmentationData argument is a TextGrid object, then the tier names of the segmentationData argument are forced to 'Word', 'Repetition', 'Context', and 'SegmNotes'.

Value

A linkS4class{SegmentationData} object.

Author(s)

Patrick Reidy

References

learningtotalk.org

See Also

SegmentationData-methods

Examples

1
2
3
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

LearningToTalk/SegmentationData documentation built on May 7, 2019, 12:47 p.m.