Did you know Cards Games

Heaps' law

Heaps' law: heuristic for distinct words in a document. No. 878,626 of 4,515,532 cards by fame.

Heaps' law: quick facts

Description
Heuristic for distinct words in a document
Rarity in the game
Epic card
In its topic
No. 509 of 747 “Applied linguistics” cards
Wikipedia
article in 7 languages
Wikidata
Q5691531
Wikipedia page views
about 310 a month (November 2025 – October 2026)

Fame score: Wikipedia page views (July 2015 – October 2026, 39 languages). Updated .

Heaps' law
Photo: Matheus Bastani, CC0 (Wikimedia Commons)

Heaps' law: summary

In linguistics, Heaps's law, also called Herdan's law, is an empirical law which describes the number of distinct words in a document (or set of documents) as a function of the document length (so called type-token relation). It can be formulated as VR(n)=Knβ where VR is the number of distinct words in an instance text of size n. K and β are free parameters determined empirically.

Source: Wikipedia (CC BY-SA 4.0)

More cards: Applied linguistics

The best-known of the 747 “Applied linguistics” cards

This card's topics

“Heaps' law” is one of the 4,515,532 cards of Did you know Cards, the free Wikipedia card game where you learn as you play: every card is a piece of knowledge from Wikipedia. Open boosters, complete your albums and challenge other players to duels.