print.featureHits: S3 print for featureHits class

Description Usage Arguments Examples

View source: R/search_results.r

Description

S3 print for featureHits class

Usage

1
2
## S3 method for class 'featureHits'
print(x, ...)

Arguments

x

a featureHits object, as returned by tCorpus$search_features

...

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

hits

kasperwelbers/corpustools documentation built on Dec. 5, 2018, 9:11 a.m.