{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,11]],"date-time":"2026-09-11T17:19:30Z","timestamp":1789147170598,"version":"build-2803163510"},"reference-count":47,"publisher":"Springer Science and Business Media LLC","issue":"1","license":[{"start":{"date-parts":[[2021,8,18]],"date-time":"2021-08-18T00:00:00Z","timestamp":1629244800000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2021,8,18]],"date-time":"2021-08-18T00:00:00Z","timestamp":1629244800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"DOI":"10.13039\/501100003329","name":"Ministerio de Econom\u00eda y Competitividad","doi-asserted-by":"publisher","award":["FIS2015-71851-P"],"award-info":[{"award-number":["FIS2015-71851-P"]}],"id":[{"id":"10.13039\/501100003329","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100014440","name":"Ministerio de Ciencia, Innovaci\u00f3n y Universidades","doi-asserted-by":"publisher","award":["PGC-FIS2018-099629-B-I00"],"award-info":[{"award-number":["PGC-FIS2018-099629-B-I00"]}],"id":[{"id":"10.13039\/100014440","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["EPJ Data Sci."],"published-print":{"date-parts":[[2021,12]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>\n                    Music is a fundamental human construct, and harmony provides the building blocks of musical language. Using the\n                    <jats:italic>Kunstderfuge<\/jats:italic>\n                    corpus of classical music, we analyze the historical evolution of the richness of harmonic vocabulary of 76 classical composers, covering almost 6 centuries. Such corpus comprises about 9500 pieces, resulting in more than 5 million tokens of music codewords. The fulfilment of Heaps\u2019 law for the relation between the size of the harmonic vocabulary of a composer (in codeword types) and the total length of his works (in codeword tokens), with an exponent around 0.35, allows us to define a relative measure of vocabulary richness that has a transparent interpretation. When coupled with the considered corpus, this measure allows us to quantify harmony richness across centuries, unveiling a clear increasing linear trend. In this way, we are able to rank the composers in terms of richness of vocabulary, in the same way as for other related metrics, such as entropy. We find that the latter is particularly highly correlated with our measure of richness. Our approach is not specific for music and can be applied to other systems built by tokens of different types, as for instance natural language.\n                  <\/jats:p>","DOI":"10.1140\/epjds\/s13688-021-00293-8","type":"journal-article","created":{"date-parts":[[2021,8,17]],"date-time":"2021-08-17T21:04:17Z","timestamp":1629234257000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":10,"title":["Heaps\u2019 law and vocabulary richness in the history of classical music harmony"],"prefix":"10.1140","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-8000-8701","authenticated-orcid":false,"given":"Marc","family":"Serra-Peralta","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Joan","family":"Serr\u00e0","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"\u00c1lvaro","family":"Corral","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2021,8,18]]},"reference":[{"key":"293_CR1","doi-asserted-by":"publisher","first-page":"7","DOI":"10.1007\/978-3-319-24403-7_2","volume-title":"Creativity and universality in language","author":"EG Altmann","year":"2016","unstructured":"Altmann EG, Gerlach M (2016) Statistical laws in linguistics. In: Creativity and universality in language. Springer, Cham, pp\u00a07\u201326"},{"key":"293_CR2","unstructured":"Hern\u00e1ndez T, Ferrer i Cancho R (2019) Ling\u00fc\u00edstica cuantitativa, Madrid"},{"issue":"8","key":"293_CR3","doi-asserted-by":"publisher","DOI":"10.1098\/rsos.191023","volume":"6","author":"IG Torre","year":"2019","unstructured":"Torre IG, Luque B, Lacasa L, Kello CT, Hern\u00e1ndez-Fern\u00e1ndez A (2019) On the physical origin of linguistic laws and lognormality in speech. R Soc Open Sci 6(8):191023","journal-title":"R Soc Open Sci"},{"issue":"2","key":"293_CR4","doi-asserted-by":"publisher","DOI":"10.3390\/e22020224","volume":"22","author":"\u00c1 Corral","year":"2020","unstructured":"Corral \u00c1, Serra I (2020) The brevity law as a scaling law, and a possible origin of Zipf\u2019s law for word frequencies. Entropy 22(2):224","journal-title":"Entropy"},{"key":"293_CR5","volume-title":"Word frequency distributions","author":"RH Baayen","year":"2002","unstructured":"Baayen RH (2002) Word frequency distributions, vol\u00a018. Springer, Dordrecht"},{"key":"293_CR6","volume-title":"Corpus linguistics: an international handbook","author":"M Kyt\u00f6","year":"2009","unstructured":"Kyt\u00f6 M, L\u00fcdeling A (2009) Corpus linguistics: an international handbook. de Gruyter, Berlin"},{"key":"293_CR7","unstructured":"Zanette DH (2014) Statistical patterns in written language. Preprint. arXiv:1412.3336"},{"issue":"5","key":"293_CR8","doi-asserted-by":"publisher","first-page":"1112","DOI":"10.3758\/s13423-014-0585-6","volume":"21","author":"ST Piantadosi","year":"2014","unstructured":"Piantadosi ST (2014) Zipf\u2019s word frequency law in natural language: a critical review and future directions. Psychon Bull Rev 21(5):1112\u20131130","journal-title":"Psychon Bull Rev"},{"issue":"1","key":"293_CR9","doi-asserted-by":"publisher","DOI":"10.1371\/journal.pone.0147073","volume":"11","author":"I Moreno-S\u00e1nchez","year":"2016","unstructured":"Moreno-S\u00e1nchez I, Font-Clos F, Corral \u00c1 (2016) Large-scale analysis of Zipf\u2019s law in English texts. PLoS ONE 11(1):0147073","journal-title":"PLoS ONE"},{"key":"293_CR10","volume-title":"Modern information retrieval","author":"R Baeza-Yates","year":"1999","unstructured":"Baeza-Yates R, Ribeiro-Neto B et al. (1999) Modern information retrieval, vol\u00a0463. ACM, New York"},{"key":"293_CR11","first-page":"61","volume":"4","author":"A Kornai","year":"2002","unstructured":"Kornai A (2002) How many words are there? Glottometrics 4:61\u201386","journal-title":"Glottometrics"},{"issue":"9","key":"293_CR12","doi-asserted-by":"publisher","DOI":"10.1088\/1367-2630\/15\/9\/093033","volume":"15","author":"F Font-Clos","year":"2013","unstructured":"Font-Clos F, Boleda G, Corral A (2013) A scaling law beyond Zipf\u2019s law and its relation to heaps\u2019 law. New J Phys 15(9):093033","journal-title":"New J Phys"},{"issue":"2","key":"293_CR13","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevE.96.022318","volume":"96","author":"\u00c1 Corral","year":"2017","unstructured":"Corral \u00c1, Font-Clos F (2017) Dependence of exponents on text length versus finite-size scaling for word-frequency distributions. Phys Rev E 96(2):022318","journal-title":"Phys Rev E"},{"key":"293_CR14","doi-asserted-by":"publisher","first-page":"190","DOI":"10.1090\/psapm\/012\/9970","volume-title":"Structure of language and its mathematical aspects","author":"B Mandelbrot","year":"1961","unstructured":"Mandelbrot B (1961) On the theory of word frequencies and on related markovian models of discourse. In: Structure of language and its mathematical aspects, vol\u00a012. Am. Math. Soc., Providence, pp\u00a0190\u2013219"},{"key":"293_CR15","volume-title":"Information retrieval, computational and theoretical aspects","author":"HS Heaps","year":"1978","unstructured":"Heaps HS (1978) Information retrieval, computational and theoretical aspects. Academic Press, San Diego"},{"issue":"4","key":"293_CR16","doi-asserted-by":"publisher","DOI":"10.1371\/journal.pone.0005372","volume":"4","author":"M\u00c1 Serrano","year":"2009","unstructured":"Serrano M\u00c1, Flammini A, Menczer F (2009) Modeling statistical properties of written text. PLoS ONE 4(4):5372","journal-title":"PLoS ONE"},{"issue":"23","key":"293_CR17","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevLett.114.238701","volume":"114","author":"F Font-Clos","year":"2015","unstructured":"Font-Clos F, Corral \u00c1 (2015) Log-log convexity of type-token growth in Zipf\u2019s systems. Phys Rev Lett 114(23):238701","journal-title":"Phys Rev Lett"},{"issue":"1","key":"293_CR18","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1076\/jqul.6.1.1.4148","volume":"6","author":"G Wimmer","year":"1999","unstructured":"Wimmer G, Altmann G (1999) On vocabulary richness. J Quant Linguist 6(1):1\u20139","journal-title":"J Quant Linguist"},{"issue":"4","key":"293_CR19","doi-asserted-by":"publisher","first-page":"339","DOI":"10.1080\/09296174.2013.830552","volume":"20","author":"M Kub\u00e1t","year":"2013","unstructured":"Kub\u00e1t M, Mili\u010dka J (2013) Vocabulary richness measure in genres. J Quant Linguist 20(4):339\u2013349","journal-title":"J Quant Linguist"},{"issue":"2","key":"293_CR20","doi-asserted-by":"publisher","first-page":"201","DOI":"10.1017\/S0305000900012885","volume":"14","author":"B Richards","year":"1987","unstructured":"Richards B (1987) Type\/token ratios: what do they really tell us? J Child Lang 14(2):201\u2013209","journal-title":"J Child Lang"},{"key":"293_CR21","volume-title":"The music instinct","author":"P Ball","year":"2010","unstructured":"Ball P (2010) The music instinct. Oxford University Press, Oxford"},{"issue":"1","key":"293_CR22","doi-asserted-by":"publisher","first-page":"3","DOI":"10.1177\/102986490601000101","volume":"10","author":"DH Zanette","year":"2006","unstructured":"Zanette DH (2006) Zipf\u2019s law and the creation of musical context. Music Sci 10(1):3\u201318","journal-title":"Music Sci"},{"key":"293_CR23","volume-title":"Music, language, and the brain","author":"AD Patel","year":"2010","unstructured":"Patel AD (2010) Music, language, and the brain. Oxford University Press, Oxford"},{"issue":"7198","key":"293_CR24","doi-asserted-by":"publisher","first-page":"988","DOI":"10.1038\/453988a","volume":"453","author":"D Zanette","year":"2008","unstructured":"Zanette D (2008) Playing by numbers. Nature 453(7198):988\u2013989","journal-title":"Nature"},{"issue":"7","key":"293_CR25","doi-asserted-by":"publisher","DOI":"10.1371\/journal.pone.0129031","volume":"10","author":"\u00c1 Corral","year":"2015","unstructured":"Corral \u00c1, Boleda G, Ferrer-i-Cancho R (2015) Zipf\u2019s law for word frequencies: word forms versus lemmas in long texts. PLoS ONE 10(7):0129031","journal-title":"PLoS ONE"},{"key":"293_CR26","doi-asserted-by":"publisher","first-page":"52","DOI":"10.1109\/SECON.2002.995557","volume-title":"Proceedings IEEE SoutheastCon 2002 (Cat. No. 02CH37283)","author":"B Manaris","year":"2002","unstructured":"Manaris B, Purewal T, McCormick C (2002) Progress towards recognizing and classifying beautiful music with computers-midi-encoded music and the Zipf\u2013Mandelbrot law. In: Proceedings IEEE SoutheastCon 2002 (Cat. No. 02CH37283). IEEE Press, New York, pp\u00a052\u201357"},{"issue":"22","key":"293_CR27","doi-asserted-by":"publisher","first-page":"5552","DOI":"10.1016\/j.physa.2008.05.031","volume":"387","author":"MB del R\u00edo","year":"2008","unstructured":"del R\u00edo MB, Cocho G, Naumis G (2008) Universality in the tail of musical note rank distribution. Phys A, Stat Mech Appl 387(22):5552\u20135560","journal-title":"Phys A, Stat Mech Appl"},{"issue":"3","key":"293_CR28","doi-asserted-by":"publisher","DOI":"10.1371\/journal.pone.0033993","volume":"7","author":"M Haro","year":"2012","unstructured":"Haro M, Serr\u00e0 J, Herrera P, Corral \u00c1 (2012) Zipf\u2019s law in short-time timbral codings of speech, music, and environmental sound signals. PLoS ONE 7(3):33993","journal-title":"PLoS ONE"},{"issue":"1","key":"293_CR29","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1038\/srep00521","volume":"2","author":"J Serr\u00e0","year":"2012","unstructured":"Serr\u00e0 J, Corral \u00c1, Bogu\u00f1\u00e1 M, Haro M, Arcos JL (2012) Measuring the evolution of contemporary western popular music. Sci Rep 2(1):1\u20136","journal-title":"Sci Rep"},{"issue":"3","key":"293_CR30","doi-asserted-by":"publisher","DOI":"10.1371\/journal.pone.0058710","volume":"8","author":"L Liu","year":"2013","unstructured":"Liu L, Wei J, Zhang H, Xin J, Huang J (2013) A statistical physics view of pitch fluctuations in the classical music from bach to chopin: evidence for scaling. PLoS ONE 8(3):58710","journal-title":"PLoS ONE"},{"key":"293_CR31","unstructured":"Wikipedia: MIDI. https:\/\/en.wikipedia.org\/wiki\/MIDI. Accessed 20 Feb 2021"},{"issue":"6014","key":"293_CR32","doi-asserted-by":"publisher","first-page":"176","DOI":"10.1126\/science.1199644","volume":"331","author":"J-B Michel","year":"2011","unstructured":"Michel J-B, Shen YK, Aiden AP, Veres A, Gray MK, Pickett JP, Hoiberg D, Clancy D, Norvig P, Orwant J et al. (2011) Quantitative analysis of culture using millions of digitized books. Science 331(6014):176\u2013182","journal-title":"Science"},{"key":"293_CR33","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9780511811722","volume-title":"Music: a mathematical offering","author":"D Benson","year":"2006","unstructured":"Benson D (2006) Music: a mathematical offering. Cambridge University Press, Cambridge"},{"issue":"7","key":"293_CR34","doi-asserted-by":"publisher","first-page":"64","DOI":"10.1063\/PT.3.1650","volume":"65","author":"H Hennig","year":"2012","unstructured":"Hennig H, Fleischmann R, Geisel T (2012) Musical rhythms: the science of being slightly off. Phys Today 65(7):64","journal-title":"Phys Today"},{"issue":"1","key":"293_CR35","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1038\/srep43862","volume":"7","author":"IG Torre","year":"2017","unstructured":"Torre IG, Luque B, Lacasa L, Luque J, Hern\u00e1ndez-Fern\u00e1ndez A (2017) Emergence of linguistic laws in human voice. Sci Rep 7(1):1\u201310","journal-title":"Sci Rep"},{"key":"293_CR36","unstructured":"midi2abc: abcMIDI package. http:\/\/abc.sourceforge.net\/abcMIDI\/original. Accessed 20 Feb 2021"},{"issue":"4","key":"293_CR37","doi-asserted-by":"publisher","first-page":"334","DOI":"10.1037\/0033-295X.89.4.334","volume":"89","author":"CL Krumhansl","year":"1982","unstructured":"Krumhansl CL, Kessler EJ (1982) Tracing the dynamic changes in perceived tonal organization in a spatial representation of musical keys. Psychol Rev 89(4):334","journal-title":"Psychol Rev"},{"key":"293_CR38","unstructured":"Press OU Grove music online. https:\/\/www.oxfordmusiconline.com\/grovemusic. Accessed 28 Feb 2021"},{"key":"293_CR39","volume-title":"Music theory for dummies","author":"M Pilhofer","year":"2015","unstructured":"Pilhofer M, Day H (2015) Music theory for dummies. Wiley, New York"},{"key":"293_CR40","unstructured":"Kunstderfuge: the largest resouce of classical music in .mid files. http:\/\/www.kunstderfuge.com. Accessed 1 Feb 2021"},{"issue":"3","key":"293_CR41","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevResearch.2.033166","volume":"2","author":"A Gonz\u00e1lez-Espinoza","year":"2020","unstructured":"Gonz\u00e1lez-Espinoza A, Mart\u00ednez-Mekler G, Lacasa L (2020) Arrow of time across five centuries of classical music. Phys Rev Res 2(3):033166","journal-title":"Phys Rev Res"},{"issue":"6","key":"293_CR42","doi-asserted-by":"publisher","first-page":"1351","DOI":"10.2478\/s11600-013-0154-9","volume":"61","author":"A Deluca","year":"2013","unstructured":"Deluca A, Corral \u00c1 (2013) Fitting and goodness-of-fit test of non-truncated and truncated power-law distributions. Acta Geophys 61(6):1351\u20131394","journal-title":"Acta Geophys"},{"issue":"5","key":"293_CR43","doi-asserted-by":"crossref","first-page":"673","DOI":"10.1029\/2018EA000479","volume":"6","author":"\u00c1 Corral","year":"2019","unstructured":"Corral \u00c1, Gonz\u00e1lez \u00c1 (2019) Power law size distributions in geoscience revisited. Earth Space Sci 6(5):673\u2013697","journal-title":"Earth Space Sci"},{"issue":"5","key":"293_CR44","doi-asserted-by":"publisher","DOI":"10.1103\/PhysRevE.102.052113","volume":"102","author":"\u00c1 Corral","year":"2020","unstructured":"Corral \u00c1, Serra I, Ferrer-i-Cancho R (2020) Distinct flavors of Zipf\u2019s law and its maximum likelihood fitting: rank-size and size-distribution representations. Phys Rev E 102(5):052113","journal-title":"Phys Rev E"},{"issue":"12","key":"293_CR45","doi-asserted-by":"publisher","DOI":"10.3390\/e21121170","volume":"21","author":"A Ben-Naim","year":"2019","unstructured":"Ben-Naim A (2019) Entropy and information theory: uses and misuses. Entropy 21(12):1170","journal-title":"Entropy"},{"issue":"1","key":"293_CR46","doi-asserted-by":"publisher","first-page":"65","DOI":"10.2307\/40285812","volume":"17","author":"D Temperley","year":"1999","unstructured":"Temperley D (1999) What\u2019s key for key? The Krumhansl\u2013Schmuckler key-finding algorithm reconsidered. Music Percept 17(1):65\u2013100","journal-title":"Music Percept"},{"key":"293_CR47","doi-asserted-by":"publisher","first-page":"51","DOI":"10.1007\/978-1-4419-6114-3_3","volume-title":"Music perception","author":"CL Krumhansl","year":"2010","unstructured":"Krumhansl CL, Cuddy LL (2010) A theory of tonal hierarchies in music. In: Music perception. Springer, New York, pp\u00a051\u201387"}],"container-title":["EPJ Data Science"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1140\/epjds\/s13688-021-00293-8.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1140\/epjds\/s13688-021-00293-8\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1140\/epjds\/s13688-021-00293-8.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2023,11,7]],"date-time":"2023-11-07T08:58:50Z","timestamp":1699347530000},"score":1,"resource":{"primary":{"URL":"https:\/\/epjdatascience.springeropen.com\/articles\/10.1140\/epjds\/s13688-021-00293-8"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,8,18]]},"references-count":47,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2021,12]]}},"alternative-id":["293"],"URL":"https:\/\/doi.org\/10.1140\/epjds\/s13688-021-00293-8","relation":{"has-preprint":[{"id-type":"doi","id":"10.21203\/rs.3.rs-392022\/v1","asserted-by":"object"}]},"ISSN":["2193-1127"],"issn-type":[{"value":"2193-1127","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,8,18]]},"assertion":[{"value":"3 April 2021","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"30 June 2021","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"18 August 2021","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"The authors declare that they have no competing interests.","order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Competing interests"}}],"article-number":"40"}}