get_generic: Get competitors in spoken word recognition

Description Usage Arguments Value

View source: R/competitors.R

Description

Get competitors in spoken word recognition

Usage

1
get_generic(target, lexicon, neighbors, sep, form, count, overlap)

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

overlap

(get_cohorts only) Integer specifying the number of onset phonemes to overlap for matching with the target word

mismatch

(get_rhymes only) Integer specifying the number of onset phonemes to mismatch for matching with the target word

Value

the indexes of the competitors in the lexical database


LexFindR documentation built on Oct. 29, 2021, 9:07 a.m.