# NOT RUN {
data(think)
set.seed(314)
think <- think[sample(1:nrow(think),500),]
think.ndl <- ndlClassify(Lexeme ~ (Person * Number * Agent) + Register,
data=think)
summary(think.ndl)
# }
# NOT RUN {
think.ndl.SA <- ndlClassify(Lexeme ~ (Polarity + Voice + Mood + Person +
Number + Covert + ClauseEquivalent + Agent + Patient + Manner + Time +
Modality1 + Modality2 + Source + Goal + Quantity + Location +
Duration + Frequency + MetaComment + ReasonPurpose + Condition +
CoordinatedVerb)^2 + Author + Section, data=think)
summary(think.ndl.SA)
# }
# NOT RUN {
# }
# NOT RUN {
data(dative)
out <- which(is.element(colnames(dative), c("Speaker","Verb")))
dative <- dative[-out]
dative.ndl <- ndlClassify(RealizationOfRecipient ~ ., data=dative)
summary(dative.ndl)
# }
Run the code above in your browser using DataLab