summary.contextHits: S3 summary for contextHits class

Description Usage Arguments Examples

View source: R/search_results.r

Description

S3 summary for contextHits class

Usage

1
2
## S3 method for class 'contextHits'
summary(object, ...)

Arguments

object

a contextHits object, as returned by tCorpus$search_contexts

...

not used

Examples

1
2
3
4
5
text = c('A B C', 'D E F. G H I', 'A D', 'GGG')
tc = create_tcorpus(text, doc_id = c('a','b','c','d'), split_sentences = TRUE)
hits = tc$search_contexts(c('query label# A AND B', 'second query# (A AND Q) OR ("D E") OR I'))

summary(hits)

kasperwelbers/corpustools documentation built on Sept. 1, 2018, 1:03 p.m.