cocaCohort: Get lexical cohort.

Description Usage Arguments Details Value Author(s)

Description

Get lexical cohort.

Usage

1
cocaCohort(word, data, onset.len = 1)

Arguments

word

A character string indicating the word defining the cohort.

data

A data.frame containing CoCA lexical statistics. See cocaReadFreq.

onset.len

The number of onset letters that must cohort members share.

Details

Find all orthographic cohort members for word in data (assumes coca data.frame). Cohort members share onset.len initial characters.

Value

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).

Author(s)

Dave Braze davebraze@gmail.com


davebraze/FDB1 documentation built on May 14, 2019, 8:59 p.m.