get_embeds_in_target {LexFindR}R Documentation

Get embedding competitors

Description

Embedding competitors are items embedded in target

Usage

get_embeds_in_target(target, lexicon, sep = " ", form = FALSE, count = FALSE)

Arguments

target

Character string containing a target word

lexicon

Character vector containing the lexical database

sep

Separator in target and lexicon

form

Whether to return words in lexicon

count

Whether to return count of words

Value

the indexes of the competitors in the lexical database

Examples

get_embeds_in_target("AA R K", c("AA R K", "AA R", "B AA B"))

[Package LexFindR version 1.1.0 Index]