finalDevoicing {languageR} | R Documentation |
Phonological specifications for onset, nucleus and offset for 1697 Dutch monomorphemic words with a final obstruent. These final obstruents may exhibit a voicing alternation that is traditionally described as syllable-final devoicing: underlying /d/ in /hond/ becomes a /t/ when syllable-final ([hOnt]) and remains a /d/ otherwise ([hOn-den]).
data(finalDevoicing)
A data frame with 1697 observations on the following 9 variables.
Word
Onset1Type
None
,
Obstruent
and Sonorant
.Onset2Type
None
,
Obstruent
and Sonorant
.VowelType
iuy
, long
and
short
.ConsonantType
None
,
Obstruent
and Sonorant
.Obstruent
F
(/f,v/), P
(/p,b/), S
(/s,z/), T
(/t,d/) and
X
(/x,g/).Nsyll
Stress
A
(antepenult), F
(final) and
P
(penult).Voice
voiced
and voiceless
.Ernestus, M. and Baayen, R. H. (2003) Predicting the unpredictable: Interpreting neutralized segments in Dutch, Language, 79, 5-38.
## Not run: data(finalDevoicing) library(rpart) # ---- CART tree finalDevoicing.rp = rpart(Voice ~ ., data = finalDevoicing[ , -1]) plotcp(finalDevoicing.rp) finalDevoicing.pruned = prune(finalDevoicing.rp, cp = 0.021) plot(finalDevoicing.pruned, margin = 0.1, compress = TRUE) text(finalDevoicing.pruned, use.n = TRUE, pretty = 0, cex=0.8) # ---- logistic regression library(Design) finalDevoicing.dd = datadist(finalDevoicing) options(datadist='finalDevoicing.dd') finalDevoicing.lrm = lrm(Voice ~ VowelType + ConsonantType + Obstruent + Nsyll + Stress + Onset1Type + Onset2Type, data = finalDevoicing) anova(finalDevoicing.lrm) # ---- model simplification fastbw(finalDevoicing.lrm) finalDevoicing.lrm = lrm(Voice ~ VowelType + ConsonantType + Obstruent + Nsyll, data = finalDevoicing, x = TRUE, y = TRUE) par(mfrow=c(2,2)) plot(finalDevoicing.lrm, fun = plogis, ylim = c(0, 1), ylab = "p(voiceless)") par(mfrow=c(1,1)) # ---- model validation validate(finalDevoicing.lrm, B = 200) ## End(Not run)