Learn R Programming

SMPracticals (version 1.4-3.1)

bard: Shakespeare's Word Type Frequencies

Description

These are the frequencies with which Shakespeare used word types. There are 846 word types which appear more than 100 times in his total works, giving an overall total of 31534 word types.

Usage

data(bard)

Arguments

Format

A data frame with 100 observations on the following 2 variables.

r

Number of times a word type is used

n

Number of word types used r times

Details

The canon of Shakespeare's accepted works contains 884,647 words, with 31,534 distinct word types. A word type is a distinguishable arrangement of letters, so `king' is different from `kings' and `alehouse' different from both `ale' and `house'.

References

Davison, A. C. (2003) Statistical Models. Cambridge University Press. Page 629.