Abstract

In this paper, we inspect the theoretical problem of counting the number of analogies between sentences contained in a text. Based on this, we measure the analogical density of the text. We focus on analogy at the sentence level, based on the level of form rather than on the level of semantics. Experiments are carried on two different corpora in six European languages known to have various levels of morphological richness. Corpora are tokenised using several tokenisation schemes: character, sub-word and word. For the sub-word tokenisation scheme, we employ two popular sub-word models: unigram language model and byte-pair-encoding. The results show that the corpus with a higher Type-Token Ratio tends to have higher analogical density. We also observe that masking the tokens based on their frequency helps to increase the analogical density. As for the tokenisation scheme, the results show that analogical density decreases from the character to word. However, this is not true when tokens are masked based on their frequencies. We find that tokenising the sentences using sub-word models and masking the least frequent tokens increase analogical density.

Highlights

  • Analogy is a relationship between four objects that states the following: A is to B as C is to D

  • The present paper examines in more details the number of formal analogies that can be found between sentences in various corpora in various languages

  • We introduce a precise notion of analogical density and measure the analogical density of various corpora; We characterise texts that are more likely to have a higher analogical density; We investigate the effect of using different tokenisation schemes and the effect of masking tokens by their frequency on the analogical density of various corpora; We investigate the impact of the average length of sentences on their analogical density of corpora; and

Read more

Summary

Introduction

Analogy is a relationship between four objects that states the following: A is to B as C is to D. When the objects are pieces of a text, analogies can be of different sorts: . Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. World-knowledge or pragmatic sort, as in Indonesia : Jakarta :: Brazil : Brasilia (state/capital); Semantic sort, as in glove : hand :: envelope : letter (container/content); Grammatical sort, as in child : children :: man : men (singular/plural); and Formal sort, or level of form, as in he : her :: dance : dancer (suffixing with r)

Objectives
Results
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call