This function is a stripped down version of
lex.div. It does not
analyze text, but takes the numbers of tokens and types
directly to calculate measures for which this information
is sufficient:
Maas, H.-D., (1972). "Uber den Zusammenhang zwischen
Wortschatzumfang und L"ange eines Textes.
Zeitschrift f"ur Literaturwissenschaft und
Linguistik, 2(8), 73--96.
Tweedie. F.J. & Baayen, R.H. (1998). How Variable May a
Constant Be? Measures of Lexical Richness in Perspective.
Computers and the Humanities, 32(5), 323--352.