define_terms: Define terms within a dictionary

Description Usage Arguments Value

View source: R/define_terms.R

Description

Extracts phrases associated with a dictionary entry to define it while removing exclusion terms that are too common or irrelevant to be included in definitions

Usage

1
define_terms(entry, exclusion_terms = NULL)

Arguments

entry

a character vector of entries in a dictionary

exclusion_terms

a character vector of terms to not retain as possible parts of a term definition

Value

a named list of the same length as entry containing character vectors defining each entry


elizagrames/topictagger documentation built on Jan. 1, 2021, 12:16 a.m.