summary.contextHits: S3 summary for contextHits class

View source: R/search_results.r

summary.contextHitsR Documentation

S3 summary for contextHits class

Description

S3 summary for contextHits class

Usage

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

Arguments

object

a contextHits object, as returned by search_contexts

...

not used

Examples

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 = search_contexts(tc, c('query label# A AND B', 'second query# (A AND Q) OR ("D E") OR I'))

summary(hits)

corpustools documentation built on May 31, 2023, 8:45 p.m.