print.contextHits {corpustools}R 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

[Package corpustools version 0.4.10 Index]