# NOT RUN {
# }
# NOT RUN {
# assuming the corpus contains wave files and praat textgrids
setwd(~/Data/MyCorpus) # assuming everything is in one place
#assuming you have one wav for each annotation
Waves=list.files(pattern="*.wav",recursive=T)
Annotations=list.files(pattern="*.TextGrids",recursive=T) # see above
# Lets assume the annotation is in UTF-8 and you want everything from a tier called words
# Lets assume tha you want to dismiss everything in <|>
# Lets assume that have 4 cores available
# Lets assume that you want the defaut settings for the parameters
Data=CorpusCoderCorpusCoder(Waves, Annotations, AnnotationType = "TextGrid",
TierName = "words", Dismiss = "<|>", Encoding, Fast = F, Cores = 4,
IntensitySteps = 5, Smooth = 800)
# }
Run the code above in your browser using DataLab