show_context_all: Return a list that shows every context element found.

Description Usage Arguments Value See Also

Description

This function can be used to extract all text excerpts from a text, based on a context search constructed with check_context. It will show the entire sentence from the first occurance of the first relevant entity to the first sentence of the second entity.

Usage

1
show_context_all(text, search, case_sensitive = FALSE)

Arguments

text

A string value representing the text that is to be searched.

search

The result of a construct_search call.

case_sensitive

If TRUE, the function will ignore cases for all entities.

Value

The function will return a list of sub-strings of text which shows you where the contexts were found.

See Also

construct_search for the construction of the search parameter.


Jhruzik/TextContext documentation built on May 21, 2019, 9:35 a.m.