parse_query: Parse a Search Query

Description Usage Arguments Value

View source: R/search.R

Description

Extracts pertinent elements from search query.

Usage

1
parse_query(search_query)

Arguments

search_query

Medical corpus query containg keywords/CUI's, boolean elements and other operators ('AND', 'OR', '!', '(', or ')').

Value

List containing the query vector, operator mask, CUI mask, keyword mask, keyword elements and CUI elements.


CEDARS documentation built on Feb. 7, 2021, 5:06 p.m.