print.contextHits: S3 print for contextHits class

View source: R/search_results.r

print.contextHitsR Documentation

S3 print for contextHits class

Description

S3 print for contextHits class

Usage

## S3 method for class 'contextHits'
print(x, ...)

Arguments

x

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'))

hits

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