Corrections of Zipf's and Heaps' Laws Derived from Hapax Rate Models

Łukasz Dębowski
7/24/2023
4 citations
cs.CLstat.AP

Official code: lukasz-debowski/ZipfAnatomy (0 stars, Gnuplot, GPL-3.0, last commit 2023-07-24). 1 more implementation below.

Abstract

The article introduces corrections to Zipf's and Heaps' laws based on systematic models of the proportion of hapaxes, i.e., words that occur once. The derivation rests on two assumptions: The first one is the standard urn model which predicts that marginal frequency distributions for shorter texts look as if word tokens were sampled blindly from a given longer text.

Show full abstract

The second assumption posits that the hapax rate is a simple function of the text length. Four such functions are discussed: the constant model, the Davis model, the linear model, and the logistic model. It is shown that the logistic model yields the best fit.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
lukasz-debowski/ZipfAnatomyOfficial0GnuplotGPL-3.02023-07-24
lukasz-debowski/ZipfAnatomy4JournalOfficial0GnuplotGPL-3.02025-01-06
GPL-3.0

Collection of scripts, tables, and figures for the working version of paper "Corrections of Zipf's and Heaps' Laws Derived from Hapax Rate Models"

00Gnuplot, PerlJul 24, 20233 years agoGPL-3.0
calculushapax-legomenonheaps-lawurn-modelzipfs-law
GPL-3.0

Collection of stand-alone supplementary materials: reports, scripts, tables, and figures for the journal version of paper "Corrections of Zipf's and Heaps' Laws Derived from Hapax Rate Models" . This article is to appear in Journal of Quantitative Linguistics.

00Gnuplot, TeXOct 23, 20231 years agoGPL-3.0
calculushapax-legomenonheaps-lawurn-modelzipfs-law

Similar Papers

Cite this paper

@article{dbowski2023corrections,
  title  = {Corrections of Zipf's and Heaps' Laws Derived from Hapax Rate Models},
  author = {Łukasz Dębowski},
  year   = {2023},
  eprint = {2307.12896},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.12896v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.12896.svg)](https://codeofpaper.com/paper/2307.12896)

Discussion