if (FALSE) {
##################################
# prerequisite: loaded myTGcolDB emuDB
# (see ?create_emuRdemoData, ?convert_TextGridCollection,
# and vignette(emuR_intro) for more information)
# add linkDefinition as one has to be present for
# the autobuild function to work
add_linkDefinition(emuDBhandle = myTGcolDB,
type = "ONE_TO_MANY",
superlevelName = "Syllable",
sublevelName = "Phoneme")
# envoke autobuild function to build hierarchy for converted TextGridCollection
autobuild_linkFromTimes(emuDBhandle = myTGcolDB,
superlevelName = "Syllable",
sublevelName = "Phoneme",
convertSuperlevel = TRUE)
}
Run the code above in your browser using DataLab