scieee AI-readable full text Open interactive document viewer

Testing the robustness of laws of polysemy and brevity versus frequency

Hernández Fernández, Antonio,Casas Fernández, Bernardino,Ferrer Cancho, Ramon,Baixeries i Juvillà, Jaume

Abstract

The pioneering research of G.K. Zipf on the relationship between word frequency and other word features led to the formulation of various linguistic laws. Here we focus on a couple of them: the meaning-frequency law, i.e. the tendency of more frequent words to be more polysemous, and the law of abbreviation, i.e. the tendency of more frequent words to be shorter. Here we evaluate the robustness of these laws in contexts where they have not been explored yet to our knowledge. The recovery of the laws again in new conditions provides support for the hypothesis that they originate from abstract mechanisms.

Full text

Testing the Robustness of Laws of Polysemy and Brevity versus Frequency Antoni Hern´andez-Fern´andez2, Bernardino Casas1, Ramon Ferrer-i-Cancho1, and Jaume Baixeries1 1Complexity & Quantitative Linguistics Lab, Laboratory for Relational Algorithmics, Complexity and Learning (LARCA), Departament de Ci`encies de la Computaci´o, Universitat Polit`ecnica de Catalunya, Barcelona, Catalonia. {bcasas, jbaixer, rferrericancho}@cs.upc.edu 2Complexity & Quantitative Linguistics Lab, Laboratory for Relational Algorithmics, Complexity and Learning (LARCA), Institut de Ci`encies de l0Educaci´o, Universitat Polit`ecnica de Catalunya, Barcelona, Catalonia. [email protected] Corresponding author:[email protected] Abstract. The pioneering research of G. K. Zipf on the relationship between word frequency and other word features led to the formulation of various linguistic laws. Here we focus on a couple of them: the meaning-frequency law, i.e. the tendency of more frequent words to be more polysemous, and the law of abbreviation, i.e. the tendency of more frequent words to be shorter. Here we evaluate the robustness of these laws in contexts where they have not been explored yet to our knowledge. The recovery of the laws again in new conditions provides support for the hypothesis that they originate from abstract mechanisms. Keywords: Zipf law, polysemy, brevity, word frequency. 1 Introduction The linguist George Kingsley Zipf (1902-1950) is known for his investigations on statistical laws of language [20, 21]. Perhaps the most popular one is Zipfs law for word frequencies [20], that states that the frequency of the i-th most frequent word in a text follows approximately f∝i−α(1) where fis the frequency of that word, itheir rank or order and αis a constant (α≈1). Zipfs law for word frequencies can be explained by information theoretic models of communication and is a robust pattern of language that presents invariance with text length [9] but dependency with respect to the linguistic units considered [5]. The focus of the current paper are a couple of linguistic laws that are perhaps less popular: – Meaning-frequency law [19], the tendency of more frequent words to be more polysemous 2 Hern´andez-Fern´andez A. et al. – Zipfs law of abbreviation [20], the tendency of more frequent words to be shorter or smaller. These laws are examples of laws that where the predictor is word frequency and the response is another word feature. These laws are regarded as universal although the only evidence of their universality is that they hold in every language or condition where they have been tested. Because of their generality, these laws have triggered modelling efforts that attempt to explain their origin and support their presumable universality with the help of abstract mechanisms or linguistic principles, e.g., [8]. Therefore, investigating the conditions under which these laws hold is crucial. In this paper we contribute to the exploration of different definitions of word frequency and word polysemy to test the robustness of these linguistic laws in English (taking into account in our analysis only content words (nouns, verbs, adjectives and adverbs)). Concerning word frequency, in this preliminary study, we consider three major sources of estimation: the CELEX lexical database [3], the CHILDES database [16] and the SemCor corpus 1. The estimates from the CHILDES database are divided into four types depending on the kind of speakers: children, mothers, fathers and investigators. Concerning polysemy, we consider two related measures: the number of synsets of a word according to WordNet [6], that we refer to as WordNet polysemy, and the number of synsets of WordNet that have appeared in the SemCor corpus, that we refer to as SemCor polysemy. These two measures of polysemy allow one to capture two extremes: the full potential number of synsets of a word (WordNet polysemy) and the actual number of synsets that are used (SemCor polysemy), being the latter a more conservative measure of word polysemy motivated by the fact that, in many cases, the number of synsets of a word overestimates the number of synsets that are known to an average speaker of English. In this study, we assume the polysemy measure provided by Wordnet, although we are aware of the inherent difficulties of borrowing this conceptual framework (see [12, 15]). Concerning word length we simply consider orthographic length. Therefore, the SemCor corpus contains SemCor polysemy and SemCor frequency, as well as the length of its lemmas, and the CHILDES database contains CHILDES frequency, the length of its lemmas, and has been enriched with CELEX frequency, WordNet polysemy, and SemCor polysemy. The conditions above lead to 1 + 2 ×2=5 major ways of investigating the meaning-frequency law and to 1 + 2 = 3 ways of investigating the law of abbreviation (see details in Section 3). The choice made in this preliminary study should not be considered a limitation, since we plan to extend the range of data sources and measures in future studies (we explain these possibilities in Section 5). In this paper, we investigate these laws qualitatively using measures of correlation between two variables. Thus, the law of abbreviation is defined as a significant negative correlation between the frequency of a word and its length. The meaning-frequency law is defined as a significant positive correlation between 1http://multisemcor.fbk.eu/semcor.php Polysemy and Brevity versus Frequency 3 the frequency of a word and its number of synsets, a proxy for the number of meanings of a word. We adopt these correlational definitions to remain agnostic about the actual functional dependency between the variable, which is currently under revision for various statistical laws of language [1]. We will show that a significant correlation of the right sign is found in all the combinations of conditions mentioned above, providing support for the hypothesis that these laws originate from abstract mechanisms. 2 Materials In this section we describe the different corpora and tools that have been used in this paper. We first describe the WordNet database and CELEX corpus, which have been used to compute polysemy and frequency measures. Then, we describe the two different corpora that are analyzed in this paper: SemCor and CHILDES. 2.1 Lexical database WordNet The WordNet database [6] can be seen as a set of senses (also called synset) and relationships among them, where a synset is the representation of an abstract meaning and is defined as a set of words having (at least) the meaning that the synset stands for. Apart from this pair of sets, a relationship between both is also contained. Each pair word-synset is also related to a syntactical category. For instance, the pair book and the synset a written work or composition that has been published are related to the category noun, whereas the pair book and synset to arrange for and reserve (something for someone else) in advance are related to the category verb. WordNet has 155,287 lemmas and 117,659 synsets and contains only four main syntactic categories: nouns, verbs, adjectives and adverbs. 2.2 CELEX corpus CELEX [3] is a text corpora in Dutch, English and German, but in this paper we only use the information in English. For each language, CELEX contains detailed information on orthography, phonology, morphology, syntax (word class) and word frequency, based on resent and representative text corpora. 2.3 SemCor corpus SemCor is a corpus created at Princeton University composed of 352 texts which are a subset of the English Brown Corpus. All words in the corpus have been sintactically tagged using Brill’s part of speech tagger. The semantical tagging has been done manually, mapping all nouns, verbs, adjectives and adverbs, to their corresponding synsets in the WordNet database. SemCor contains 676,546 tokens, 234,136 of which are tagged. In this article we only analyze content words (nouns, verbs, adjectives and adverbs), thus it yields 23,341 different tagged lemmas that represent only content words. 4 Hern´andez-Fern´andez A. et al. We use the SemCor corpus to obtain a new measure of polysemy. SemCor corpus is freely available for download at http://web.eecs.umich. edu/~mihalcea/downloads.html\#semcor (accessed 22 april 2016). 2.4 CHILDES database The CHILDES database [16] is a set of corpora of transcripts of conversations between children and adults. The corpora included in this database are in different languages, and contains conversations when the children were between 12 and 65 months old, approximately. In this paper we have studied the conversations of 60 children in English (detailed information on these conversations can be found in [4]). We analyze syntactically every conversation of the selected corpora of CHILDES using Treetagger in order to obtain the lemma and part-of-speech for every word. We have for each word from CHILDES said for each role: lemma, part-of-speech, frequency (number of times that this word is said by this role), number of synsets (according to both SemCor or WordNet), and the word length. We only have taken into account content words (nouns, verbs, adjectives and adverbs). Figure 1 shows the amount of different lemmas obtained from the selected corpora of CHILDES and the amount of analyzed lemmas in this paper for each category. The amount of analyzed lemmas from this corpus is smaller than the total number of lemmas because we have only analyzed those lemmas that are also present in the SemCor corpus. Role Tokens # Lemmas # Analyzed Lemmas Child 1,358,219 7,835 4,675 Mother 2,269,801 11,583 6,962 Father 313,593 6,135 4,203 Investigator 182,402 3,659 2,775 Fig. 1. Number of tokens, lemmas and analyzed lemmas obtained from CHILDES conversations for each role. 3 Methods In this paper we compute the relationship between three variables that are related to every lemma: length, frequency and polysemy. 3.1 Length For the length, we compute the number of letters of the lexical item. Blanks, separation characters and the like have not been taken into consideration. Polysemy and Brevity versus Frequency 5 3.2 Frequency We have calculated the frequency from three different sources: – SemCor frequency. We use the frequency of each pair lemma, syntactic category that is present in the SemCor dataset. – CELEX frequency. We use the frequency of each pair lemma, syntactic category that is present in the CELEX lexicon. – CHILDES frequency. For each pair lemma, syntactic category that appears in the CHILDES database, we compute its frequency according to each role: child, mother, father, investigator. For example, for the pair book, noun we count four different frequencies: the number of times that this pair appears uttered by a child, a mother, a father and an investigator, respectively. SemCor frequency can only be analyzed in the SemCor corpus, whereas CELEX and CHILDES frequencies are only analyzed in the CHILDES corpora. 3.3 Polysemy We have calculated the polysemy from two different sources: – SemCor polysemy. For each pair lemma, syntactic category we compute the number of different synsets with which this pair has been tagged in the SemCor corpus. This measure is analyzed in the SemCor corpus and in the CHILDES corpus. – WordNet polysemy. For each pair lemma, syntactic category we consider the number of synsets according to the WordNet database. This measure is only analyzed in the CHILDES corpus. We are aware that using a SemCor polysemy measure in the CHILDES corpus or using Wordnet polysemy in both SemCor and CHILDES corpora induces a bias. In the former case, because we are assuming that the same meanings that are used in written text are also used in spoken language. In the latter case, because we are using all possible meanings of a word. An alternative would have been to tag manually all corpora (which is currently an unavailable option) or use an automatic tagger. But also in this case, the possibility of biases or errors would be present. We have performed these combinations for the sake of completeness, and also assuming their limitations. 3.4 Statistical Methods To compute the relationship between (1) frequency and polysemy and (2) frequency and length. Since frequency and polysemy have more than one source, we have computed all available combinations. In this paper, for the SemCor corpus we analyze the relationship between: 1. SemCor frequency and SemCor polysemy. 6 Hern´andez-Fern´andez A. et al. 2. SemCor frequency and lemma length in the SemCor corpus. As for the CHILDES corpora, the availability of different sources for frequency and polysemy yields the following combinations: 1. CELEX frequency and SemCor polysemy. 2. CELEX frequency and WordNet polysemy. 3. CHILDES frequency and SemCor polysemy. 4. CHILDES frequency and WordNet polysemy. 5. CHILDES frequency and lemma length in the CHILDES corpus. 6. CELEX frequency and lemma length in the CHILDES corpus. For each combination of two variables, we compute: 1. Correlation test. Pearson, Spearman and Kendall correlation tests, using the cor.test standardized R function. 2. Plot, in logarithmic scale, that also shows the density of points. 3. Nonparametric regression, using the locpoly standarized R function, which has been overlapped in the previous plot. We remark that the analysis for the CHILDES corpora has been segmented by role. 4 Results We analyze the relationship between (1) frequency and polysemy and (2) frequency and length separately in two different corpora (SemCor and CHILDES). In both corpora, we have computed a correlation test and a nonparametric regression, which has been plotted alongside with the values of the two variables that are analyzed. For the SemCor corpus, we have analyzed the relationship between the Sem- Cor frequency and the SemCor polysemy and the relationship between the Sem- Cor frequency and the length of lemmata. As for the CHILDES corpora, we have analyzed the relationship between two different measures of frequency (CHILDES and CELEX) versus two different measures of polysemy (WordNet and SemCor) and also, the relationship between two different measures of frequency (CHILDES and CELEX) and the length of lemmas. The analysis of individual roles (child, mother, father and investigator) does not show any significant difference between them. In all cases we have that: 1. The value of the correlation is positive for the relationships frequency-polysemy (see Figure 2), and negative for the relationships frequency-length (see Figure 4) for all types of correlation: Pearson, Spearman and Kendall. We remark that the p-value is near zero in all cases. This is, all correlations are significant. Polysemy and Brevity versus Frequency 7 2. The nonparametric regression function draws a line with a positive slope for the frequency-polysemy relationship (see Figure 3), and negative slope for the frequency-length relationship (see Figure 5). When we say that it draws a line, we mean that this function is a quasi-line in the central area of the graph, where most of the points are located. This tendency is not maintained at the extreme parts of graph, where the density of points is significantly lower. Corpus ρ ρSτKCorpus length SemCor frequency versus SemCor polysemy SemCor 0.209 0.627 0.555 23341 CHILDES frequency versus CELEX polysemy CHILDES (children) 0.084 0.249 0.177 4675 CHILDES (mothers) 0.081 0.281 0.202 6962 CHILDES (fathers) 0.084 0.279 0.202 4203 CHILDES (investigators) 0.062 0.211 0.153 2775 CELEX frequency versus WordNet polysemy CHILDES (children) 0.073 0.353 0.249 4406 CHILDES (mothers) 0.085 0.366 0.261 6577 CHILDES (fathers) 0.089 0.373 0.264 3989 CHILDES (investigators) 0.075 0.341 0.24 2654 CHILDES frequency versus SemCor polysemy CHILDES (children) 0.211 0.230 0.178 4675 CHILDES (mothers) 0.186 0.252 0.197 6962 CHILDES (fathers) 0.201 0.256 0.200 4203 CHILDES (investigators) 0.189 0.219 0.171 2775 CELEX frequency versus SemCor polysemy CHILDES (children) 0.201 0.607 0.477 4406 CHILDES (mothers) 0.197 0.602 0.474 6577 CHILDES (fathers) 0.226 0.595 0.463 3989 CHILDES (investigators) 0.228 0.585 0.451 2654 Fig. 2. Summary of the analysis of the correlation between the frequency and polysemy of each lemma. Three statistics are considered: the sample Pearson correlation coefficient (ρ), the sample Spearman correlation coefficient (ρS) and the sample Kendall correlation tau (τK). All correlation tests indicates a significant negative correlation with p-values under 1016 5 Discussion and Future Work In this paper, we have reviewed two linguistic laws that we owe to Zipf’s ([19], [20]) and that have probably been shadowed by the best-known Zipf’s law for 8 Hern´andez-Fern´andez A. et al. SemCor freq. vs SemCor pol. CHILDES freq. vs CHILDES pol. Celex freq. vs CHILDES pol. CHILDES freq. vs SemCor pol. Celex freq. vs SemCor pol. Fig. 3. Graphics of the relation between frequency (x-axis) and polysemy (y-axis), both in logarithmic scale. The color indicates the density of points: dark green is the highest possible density. The blue line is the nonparametric regression performed over the logarithmic values of frequency and polysemy. In the case of graphs concerning the CHILDES corpus, we show the graphs only for children word frequencies ([20]). Our analysis of the correlation between brevity (measured in number of characters) and polysemy (number of synsets) versus lemma frequency was conducted with three tests with varying assumptions and robustness. Pearson’s method supposes input vectors approximately normally distributed while Spearman’s is a non-parametric test that does require vectors being approximately normally distributed [2]. Kendall’s tau is more robust to extreme observations and to non-linearity compared with the standard Pearson product-moment correlation [17]. Our analysis confirm that a positive correlation between the frequency of the lemmas and the number of synsets (consistent with the meaning-frequency law) and a negative correlation between the length of the lemmas and their frequency (consistent with the law of abbreviation) arises under different definitions of the variables. Interestingly, we have not found any Polysemy and Brevity versus Frequency 9 Corpus ρ ρSτKCorpus length SemCor frequency versus lemma length SemCor −0.062 −0.301 −0.229 23341 CHILDES frequency versus lemma length CHILDES (children) −0.099 −0.324 −0.24 4675 CHILDES (mothers) −0.076 −0.373 −0.278 6962 CHILDES (fathers) −0.092 −0.366 −0.277 4203 CHILDES (investigators) −0.096 −0.318 −0.242 2775 CELEX frequency versus lemma length CHILDES (children) −0.091 −0.132 −0.095 4406 CHILDES (mothers) −0.084 −0.124 −0.089 6577 CHILDES (fathers) −0.087 −0.142 −0.102 3989 CHILDES (investigators) −0.099 −0.172 −0.126 2654 Fig. 4. Summary of the analysis of the correlation between the frequency and the lemma length. Three statistics are considered: the sample Pearson correlation coefficient (ρ), the sample Spearman correlation coefficient (ρS) and the sample Kendall correlation tau (τK). All correlation tests indicates a significant negative correlation with p-values under 1016 SemCor freq. vs lemma length CHILDES freq. vs lemma length Celex freq. vs lemma length. Fig. 5. Graphics of the relation between frequency (x-axis) and lemma length (y-axis), both in logarithmic scale. The color indicates the density of points: dark green is the highest possible density. The blue line is the nonparametric regression performed over the logarithmic values of frequency and lemma length. In the case of graphs concerning the CHILDES corpus, we show the graphs only for children