expand_wildcards: Expand words using wildcard expansion Default uses 'glob'...

View source: R/augmentation.R

expand_wildcardsR Documentation

Expand words using wildcard expansion Default uses 'glob' style wildcards ("finan*"), set type='regex' to use regular expressions

Description

Expand words using wildcard expansion Default uses 'glob' style wildcards ("finan*"), set type='regex' to use regular expressions

Usage

expand_wildcards(dictionary, vectors, type = c("glob", "regex"))

Arguments

dictionary

a character vector of words containing wildcards

vectors

A vectors object, e.g. as returned by load_fasttext

Value

a character vector containing the expanded terms


vanatteveldt/CAVA documentation built on June 4, 2022, 1:20 p.m.