dsutils: Container for simple documents with arbitrary numbers/shapes...

Description Usage Arguments Value Examples

Description

Container for simple documents with arbitrary numbers/shapes of records

utilities for ssrch

Usage

1
2
3
4
5
6
7
8
9
kw2docs(sdata)

docs2kw(sdata)

docs2recs(sdata)

searchDocs(string, obj, ...)

retrieve_doc(x, obj, ...)

Arguments

sdata

instance of srchData class

string

character(1) query string

obj

instance of DocSet class

...

passed to base::grep

x

character(1) document identifier

Value

an environment

an environment

an environment

a data.frame with tokens queried (hits) and associated document ids (docs)

result of calling obj@doc_retriever on arguments x, ...

Examples

1
getClass("DocSet")

ssrch documentation built on Nov. 8, 2020, 5:39 p.m.