get_embeds_in_targetP {LexFindR} | R Documentation |
Get embeds-in-target PRIME
Description
Items embedded in the target which are not cohorts or neighbors
Usage
get_embeds_in_targetP(
target,
lexicon,
neighbors = "das",
sep = " ",
form = FALSE,
count = FALSE
)
Arguments
target |
Character string containing a target word |
lexicon |
Character vector containing the lexical database |
neighbors |
(get_neighbors only) Character vector specifying the type of neighbor to return. Return the delete, add, substitute neighbors of the target when 'd', 'a', and/or 's' is in neighbors respectively |
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_targetP("B AA R K IY", c("AA R K", "AA R", "AA R K IY", "B AA R"))
[Package LexFindR version 1.1.0 Index]