Description Usage Arguments Details Value Author(s)
Find lexical neighbors.
1 | cocaNeighbors(word, data)
|
word |
A character string indicating the word defining the neighborhood. |
data |
A data.frame containing CoCA lexical statistics. See |
Find all neighbors for word
in data (assumes coca data.frame). Neighbors are defined as words
differing from word
by a single letter substitution, deletion or insertion.
Returns a data.frame containing 1 row for each neighbor found in data
,
specifying: index (ID), wordform (w1), lemma (L1), simple wordclass (WC), CLAWS7 tag (c1), raw
CoCA frequency (coca).
Dave Braze davebraze@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.