# NOT RUN {
## it is convenient to first prepare vectors with relevant words/pos-tags/relations
.SAY_VERBS = c("tell", "show","say", "speak") ## etc.
.QUOTE_RELS= c("ccomp", "dep", "parataxis", "dobj", "nsubjpass", "advcl")
.SUBJECT_RELS = c('su', 'nsubj', 'agent', 'nmod:agent')
quotes_direct = tquery(lemma = .SAY_VERBS,
children(label = 'source', p_rel = .SUBJECT_RELS),
children(label = 'quote', p_rel = .QUOTE_RELS))
quotes_direct
# }
Run the code above in your browser using DataLab