cocaLemmaFreq: Summed wordform frequencies for a lemma.

Description Usage Arguments Details Value Author(s)

Description

Summed wordform frequencies for a lemma.

Usage

1
cocaLemmaFreq(lemma = "run", WC = NA, data)

Arguments

lemma

Character string indicating the lemma (form).

WC

Character string indicating the wordclass of the lemma.

data

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

Details

Return the summed wordform frequencies for a lemma. If wordclass (WC) is specified, then the set is restricted to that wordclass.

TODO: Fix content of WC in case of multiple WC (WC=NA). Should be concatenation of actual values.

Value

A data.frame containing columns for lemma (L1), simpleWC (WC), number of simpleWC included in summary (nWC), number of wordforms included in summary (nforms), summed coca frequencies for wordforms (coca).

Author(s)

Dave Braze davebraze@gmail.com


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