compare.richness.fnc: Compare Lexical Richness of Two Texts
Description
Comparisons of lexical richness between two texts are carried out on the basis
of the vocabulary size (number of types) and on the basis of the vocabulary
growth rate. Variances of the number of types and of the number of hapax
legomena required for the tests are estimated with the help of LNRE models.
Usage
compare.richness.fnc(text1, text2, digits = 5)
Value
A summary listing the Chi-Squared measure of goodness of fit for the
LNRE models (available in the zipfR package) used to estimate variances,
a table listing tokens, types, hapax legomena and the vocabulary growth rate,
and two-tailed tests for differences in the vocabulary sizes and growth rates with
Z-score and p-value.
Arguments
text1
First text in the comparison.
text2
Second text in the comparison.
digits
Number of decimal digits required for the growth rate.
Author
R. Harald Baayen
Radboud University Nijmegen and
Max Planck Institute for Psycholinguistics, Nijmegen, The Netherlands.
baayen@mpi.nl
Details
The comparison for the vocabulary size is carried out with the test statistic