Description Usage Arguments Details Value Author(s)
Get lexical cohort.
1 | cocaCohort(word, data, onset.len = 1)
|
word |
A character string indicating the word defining the cohort. |
data |
A data.frame containing CoCA lexical statistics. See |
onset.len |
The number of onset letters that must cohort members share. |
Find all orthographic cohort members for word
in data (assumes coca
data.frame). Cohort members share onset.len
initial characters.
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.