I Introduction
Human language can be argued to be the most complex of consciousness mediated systems, resulting from a long evolution process in strong and extremely involved interaction with both natural and humanconstructed environment nowak01 ; nowak02 . When comparing to other complex systems as, for example, in nonlinear dynamics, in language, there is also a balance between predictable and unpredictable behavior montemurro15 . The predictable behavior comes from those rules (e.g., grammar and semantic) that has come into place, as a common framework, that allows a given community to communicate among them. It is known that a subset of these rules can even be shared across different languages and languages families chomski65 ; hawkins83 . Unpredictability is associated with the human capacity to choose in interaction with its environment and accounts for what one can consider, in a broad sense, the creativity of the agent that has created the message. However, predictabilityunpredictability, as explained above, is not the only balance. There is also the question of, beyond orthographic, syntax and grammar rules, how human beings balance constraints and choice at the level of sentences and their organization, further on, at the level of the paragraph, paragraph composition and even the whole text organization as books hawkins04 ; debowski11 ; altmann11 . It is clear that at this other levels less rigid constraints are found, but yet, some rules are followed. After all, it can be agreed that texts convey meaningful messages in a highly redundant and logical way, that strives to be consistent. As a result of these different balances, an organizational hierarchy arises in language that can be readily followed in written text lacalle06 ; montemurro10 .
Statistics, as well as information theory, have been used to explore the information content and organization for written language shannon51 ; amancio13 ; amancio15b . If a text is considered as a string of characters, the hierarchy organization is seen through different levels of correlation, which can be exposed by identifying different units of information: characters, words, sentences. Shannon shannon51 ; ebeling95 observed that not all characters convey the same information shannon48
in the sense of entropy, that is, the measure of surprise of the source that is emitting the message. The estimate of entropy per letter in the English language is considered to be around
to bit per character. More recent estimates rises such entropy to  bit per character or even larger schurmann99 ; montemurro15 . Still, at the character level, Schürmann and Grassberger schurmann07 discovered a significant dependence of character predictability on its context. They found that letter predictability depends on its position in a word, with much higher entropy at the beginning of a word and long decaying tails as further positions are considered. At the word level, the most famous finding is the one referring to the distribution of word frequency as a function of word rank which is known as Zipf(Mandelbrot) law zipf65 ; mandelbrot54 . The power law dependence is taken as mathematical evidence of the complex behavior of human language. Other empirical regularities are the power law of the number of words and the length of a text, which comes under the name of HerdanHeap law herdan64 ; heaps78 .In order to grasp the elusive idea of complexity, it is useful to consider a system, as the one described by written text, as a process that produces, stores and transmits information, much in the same spirit as has been done in other fields crutchfield89 ; crutchfield12 . That is the approach we follow in this paper. As mentioned before, we consider a written text as a coherent, consistent attempt to convey a rational and logical (alas understandable) message to an intelligent agent. As a result of this last statement, one expects the production of information as an essential characteristic for a human text. Storage of information also comes naturally as that contained in any block of characters of the text, while transmission of information will be understood as the correlation between different parts of a document. Both storage and transmission are needed by the reader to follow the rational and logical flow of the message from any point of the text onwards. Our analysis is aimed at measuring the balance between information production or innovation and context preservation in written language.
When analyzing texts of individual authors, it may also be asked to what extent style determines the amount of information (in Shannon sense) of the texts with respect to the content being conveyed. The question is relevant for many reasons that go from pure linguistic concerns to a broader scope beyond natural language analysis. When analyzing DNA as a code sequence, it is accepted that also a complex hierarchy of levels are found in its organizational structure. In the case of DNA, going from codons to genes and beyond, one of the essential questions, in analogy to human language, is how to identify all the semantic units and their correlation jimenez16 . Is there a universal “style” in DNA writing or are there different flavors across species or genres?
In this paper, we address the question of how to measure complexity in written text as the interrelation between disorder and structure. We will show how complexityentropy maps can be used to assert the information content at the level of sentence, word and letter organization, allowing to separate information contribution at different levels of organization in complex symbolic sequences. We will be discussing as examples, the work of three different English language writers: W. Shakespeare, J. Abbott, and A. C. Doyle. The authors were chosen due to their different literary style. We notice that the authors shown are only to illustrate the analysis developed; similar results were found for other authors. Furthermore, the method can be generalized to other systems, including the biological world.
Ii Entropic measures of disorder and structure
Information theory, as laid down by Shannon shannon48
, is concerned with the degree of unpredictability of a source of random events characterized by their probabilities. Events can be considered as a random variable
which takes values from a set with probabilities . Within this framework, a measure of surprise of a given event is the negative logarithm of the probability of the event: (from now on the base of the logarithm will be dropped, and the units of information will be given by bit). The measure of the source unpredictability is then given by the expectation value of every possible event . Also, the mutual information between two random variables and , or of two sources, is a measures of the reduction of uncertainty of as result of knowing the value of and viceversa: . The second term is the unpredictability of given that is known: , where is the probability of simultaneous occurrence of event and , while is the conditional probability that given that it is known that . If knowing the value tell us nothing about the value of , then and the mutual information vanishes. If, on the other extreme, knowing the value of determines with complete certainty the value of , then , the largest possible value. Mutual information can also be written as , which makes explicit the symmetric character of the mutual information cover06 .Let us consider a written text as the result of an ergodic source that outputs symbols with a given probability distribution. Symbol output is dependent on previous symbols. As a process, we will say that the text is a particular realization of the source output given as a time series, where time is a discrete variable that index each position in the text. Any text can then be considered a sequence of values
, where each value belongs to the same alphabet (e.g. the Latin alphabet). In the theoretical treatment, a text is taken as biinfinite strings: It has no starting or ending position. If the source is characterized by some probability measure, then for each block of characters of length , , a probability can be associated to each particular realization of the block. For a stationary process, the probability does not depend on the position of the block in the text. The (Shannon) block entropy is then given as , where the sum is taken over all possible sequences of length . The entropy rate, or entropy density, is defined as(1) 
which can be interpreted as the irreducible disorder of a sequence, after an infinite number of symbols have been observed, or equivalently, a measure of how unpredictable an infinite sequence looks, after considering all correlations that occur at every length scale. The entropy density is closely related to the maximum compression of the string that can be achieved by an optimum coding lz77 , the larger , the closer to one of the compression ratio. It is remarkable that the entropy density for a stationary process is equal to the Kolmogorov entropy rate, the last being the length of the shortest algorithm able to reproduce the data cover06 . Entropy rate can also be understood as a measure of the rate at which the process produces new information, as any new pattern will come as a surprise for the observer of the source output.
Disorder is not enough of a measure for complexity, as the throw of a dice or, for that matter, of a coin, conclusively shows hogg86 . We need a measure of storage and transmission of information. To measure the transmission of information, excess entropy , with different names, has been used in a number of contexts grassberger86 ; crutchfield12 . Excess entropy is the mutual information between two halves of the text biinfinite string grassberger86 ; feldman03 .
(2) 
where . The excess entropy is not a direct measure of information storage, but it is a measures of the amount of information stored on one halve useful to predict the other half.
Complexity measure now comes as the balance between information production, measured by , and useful information correlation, measured by . If a system is dominated by the overwhelming production of new information (large ), then there is little capacity for making use of past information to predict future behavior, will tend to zero. If, on the other hand, almost no new information is produced and therefore, , then the text is highly redundant (perhaps repetitive), and the dominant process will be transmitting information from earlier portions of the document to later portions ( will be larger). Between both extremes, there is only a limited amount of excess entropy that a given entropy rate can accommodate. Complexityentropy maps, or diagrams, readily shows the balance attained by any processing system between measures of disorder and useful storage, and have been used in many contexts grassberger86 ; feldman08 ; crutchfield12 ; sikai18 . In this work, we will use the plot of vs. as the complexityentropy diagram.
ii.1 Lempel Ziv estimation of entropy density and excess entropy
Entropy rate and excess entropy have been defined for biinfinite strings, which makes them impossible to calculate if the underlying structure (stochastic computational machinery) of the source is unknown. They have therefore to be empirically estimated. There is a vast literature about the ways to estimate entropy rate, and less for estimating excess entropy for a finite string of symbols, which we will not go into details here. Suffice to say that a factorization procedure as described by Lempel and Ziv lz76 was used as the basis for the estimation. The LempelZiv factorization used in this study is related to, but must not be confused, with estimates based on compression rate as those done using public compression software. Our procedure is more robust and mathematically sounder for shorter string lengths than such estimates based on compression.
There are different variants of LempelZiv estimation of entropic measures. They are all based on the factorization of a symbol sequence following a set of rules. In this contribution, the factorization used is the one described in lz76 . A short description follows.
Let us denote a subsequence that starts at position and ends at position then we define the operator as
The string has an exhaustive factorization
if each factor complies with


except, eventually, for the last factor .
This factorization is unique.
According to these rules, for example, the sequence will have a factorization , where each factor is delimited by a dot. The same factorization rules are followed for natural text, as for example in:
F(s)=t.o. .s.h.e.r.l.oc.k. h.ol.m.es. she .i.s a.lw.ay.s t.he w.om.an
The LempelZiv complexity of the string , is defined as the number of factors. In the binary example above, =5.
It has been shown ziv78 that the entropy density is given by
(3) 
and can be estimated for long enough sequences lesne09 ; estevez13 .
For estimating the excess entropy an expression related to expression [2] is used:
(4) 
where is a surrogate sequence obtained by partitioning the string in nonoverlapping blocks of length , and performing a random shuffling of the blocks. The shuffling, for a given block of length , destroys all correlations between symbols for lengths larger than , while keeping the same symbol frequency. is chosen appropriately, given the sequence length, as to avoid fluctuations due to the sequence finite length . We used and also , with no significant change in the results. In spite that is not strictly equivalent to the excess entropy, as given by equation [2], it is expected to behave in a similar mannermelchert15 .
Calculations of both LempelZiv complexity and were made by inhouse software, already used in the study of cellular automata estevez15 which runs in time.
To emphasize that and are estimated from the LempelZiv factorization, the symbols and are used instead.
Iii Text sources
As already mentioned, three English speaking authors were chosen: William Shakespeare, Arthur Conan Doyle, and Jacob Abbot^{1}^{1}1A grasp at each author work and style can be found at Wikipedia (www.wikipedia.org). The source of all text was the public Gutenberg project at https://www.gutenberg.org. Abbott is mostly a writer of children and youngster books, with also known biographies and religious books. Conan Doyle is the father of Sherlock Holmes, but also a writer of historical novels and some war books and chronicles. His works were mostly written for newspapers. His style is therefore direct with not much use of elaborate metaphors or involved language, as was directed towards the general public. Shakespeare, on the other hand, is considered by most critics the pinnacle of English literature and a master of language.
All texts used in the analysis are publicly available (See VI, VI and VI for a complete list of the texts used). Each text was filtered before estimations of entropy rate and excess entropy was performed. Filtering consisted of changing all letters to lower case; all diacritics were removed leaving the base character. All numbers were removed. Also, all punctuation marks were changed to the space character except for “?” and “!” that were changed for periods before any scrambling of sentences was performed when appropriate, after which periods were also changed for spaces. The resulting alphabet consisted of 27 characters. All texts were cut to the same length of characters. texts were used for Shakespeare and Doyle, while the number of Abbott’s text was .
In the case of plays, like Shakespeare texts, additional filtering was performed. All text that was not intended to be spoken by the potential actors was removed, this included the description of scenarios, actions by the characters of the play, scene names, and the name of each character before their parliament.
Iv Results
Three types of results will be discussed. First, the complexityentropy diagram for the works of three authors will show how individual aspects of their literary work and style are captured by the maps. Then, several randomizing experiments over the original text will be performed. At the sentence level, sentences will be shuffled randomly losing all correlation in the sentence organization hierarchy and above. Sentence shuffling has been done before using other types of analysis pavlov01 . At the word level, a third data set will be derived from the original works by performing randomization by word. In the case of word randomization, all correlations at and above the word organization hierarchy are lost. At the letter level, a set of surrogate texts will be derived by randomly shuffling the characters in the original documents. Character randomization loses all correlations not derived exclusively from the frequency of use of each letter. The complexityentropy map will again be the tool of choice to study all three surrogate texts. Finally, the information contained in the sentence, word and character organizations will be evaluated.
Our first result is shown in Figure 1, where the complexityentropy map for the texts of all three authors can be seen. The most relevant fact is that authors are segmented in different regions of the diagram. The maximum possible value for the entropy rate is bit/character, corresponding to a random organization of all possible symbols in the alphabet. For all authors, the entropy rate is far from this limit, which is expected for any intelligible text. While Abbott shows the smaller values and the larger values, Shakespeare, at the other end, exhibits the largest and smaller entropy density and , respectively. Abbott texts are highly redundant and less innovative regarding information creation, which corresponds to an author that is writing for young readers with a mostly limited vocabulary (See Table 1), simple syntax structures and also simple content organization. Shakespeare, on the other hand, is less tied to simple grammar and content organization, with a more vast vocabulary. Abbott’s book, with the smallest vocabulary, has fraction of the vocabulary of Shakespeare text with fewer different words. Doyle lies between the other two authors, with a center of mass more towards Shakespeare. Noticing that Doyle vocabulary is as large as that of Shakespeare (Table 1), the explanation for the grouping difference has to be found at a level above the vocabulary used.
Author  T  

Abbott  45  2110  352  1427  2609  8.55  8.12  8.88 
Doyle  41  2769  208  2314  3192  8.96  8.63  9.20 
Shakes.  41  2673  216  2195  3270  9.14  8.78  9.58 
:  Total number of books. 

:  Mean size of the vocabulary over all analyzed text. 
:  Standard deviation over the vocabulary. 
:  Smallest vocabulary. 
:  Largest vocabulary. 
:  Mean value of the entropy over word use histogram. 
:  Smallest entropy over word use histogram. 
:  Largest entropy over word use histogram. 
For each author, there are very few outliers, actually just some isolated points. For Shakespeare, the isolated value with higher
and smaller corresponds to “The merry wives of Windsor” (point (c) in Fig. 1), while the two isolated points with the largest are from “The tempest” (point (d)) and “The rape of Lucrece” (point (e)). There is a consensus that “The tempest”, the last sole work of Shakespeare, is, stylistically speaking, a play different from all other works of this author with a more organized and strict neoclassic cannon. “The rape of Lucrece” is a sonnet. The entropy map can distinguish the peculiar character of these two texts. When looking into Doyle, also the isolated point with the largest (point (a)) is not a novel or a short story, but a pretended study made by the author to show the existence of fairies from some photographic evidence. The next isolated point (b) is from a war chronicle, highly structured and redundant. Again the complexityentropy diagram can distinguish these two works from the bulk of its other short stories and novels.Next, texts were randomized by sentence, words, and letters. Figure 2 shows the complexityentropy diagram for each author separately. For all randomizations, sorting order of the original data is not kept for either and .
Word randomization destroys any organization hierarchy beyond word level. Entropy rate, in this case, measures pattern production from letters to words and will depend mostly on the vocabulary and the frequency on the use of words in each text. Abbott exhibits, for the bulk of its writing, the smallest in correspondence with the simplest vocabulary (Table 1). Doyle and Shakespeare with similar vocabulary size show similar entropy rate for the central part of their work, yet six texts from Doyle are separated from the rest by its lower values. These points correspond to writings which are not novels or short stories: three war chronicles and three texts over spiritualism. These six texts show the smaller number of words among those of Doyle. The mean value of for the word randomized texts, for each author, follows the same order as the average entropy over the word use histogram (Table 1), with Abbott having the smallest value. It should also be noticed that Abbott has the smallest spreading of the values, showing the more homogeneous character of his works concerning the use of vocabulary and words frequency. Regarding the behavior of for the word randomized texts, it essentially measures the random distribution of words along the text, which in turn is a function of the word frequency.
To test if the analysis for word randomized text is meaningful from a linguistic point of view, we also performed some analysis in artificial words using as delimiters of a word, instead of space, the character “e”. There is also a shift in the values of entropy density and (See 5), as should be expected, but results and text ordering in the complexityentropy map changes, showing that the analysis is not independent on how a word is defined. This behavior can be indicative that the results for wordrandomized text are useful from a linguistic analysis perspective.
The fact that the complexityentropy map for the sentence randomized texts shows a shift towards higher values of and smaller values of for all three authors, is indicative of organizational structure at the levels above sentences. The most significant shift in Shakespeare text is found for “The second part of King Henry the sixth”, where the relative decrease in reaches nearly and in , . Compare this values with Doyle, where “The coming of the fairies” has the largest relative shift with and for and , respectively; or with Abbott where “Rollo in London” has an entropy density relative shift of , and “Margaret of Anjou” has the largest relative shift with . One can observe that in the case of Abbott, there is a significant gap in the complexityentropy diagram between the points for the sentence and word randomized texts.
We also studied if there was any dependence of and on sentence length. We found none for Shakespeare and Doyle, but for Abbott, there is a tendency for larger entropy density, and smaller the larger is the entropy over the sentence size. Again, such a trend could not be identified for Shakespeare and Doyle (See 6).
Randomization by character destroys all correlations above those determined by letter use frequency, correspondingly, there is a significant jump of towards higher values still below the maximum value of , and of towards the neighborhood of zero. The entropy rate values are in the range of more in accordance with the estimates made in schurmann99 . The drop of to the almost zero measures the loss of correlations at all length scale.
In order to separate the various contributions to the entropy rate consider the difference
(5) 
where , and are the entropy rates for the sentence, word and character randomised texts, respectively. can be interpreted as the amount of information that goes into organising the sentences in the original text. Equivalently, measures the amount of information that goes into organising the words within the sentences of the original text, and measures the same magnitude but for organising letters to form words regardless of their order (Fig. 3).
Similarly, we define the excess entropy gain from organizing the sentences in the original text , from organizing the words within the sentences of the original text , and from organizing the characters within the words of the original text , as
(6) 
In figure 4 one sees that the values of information gain can go from almost zero to around bit/character. Shakespeare values are the ones gathered around the smallest values of , which also corresponds to the smallest values of excess entropy gain (center of mass ), while Doyle is more spread over the region of values with center of mass and then to the right, are Abbott texts with center of mass . Although Shakespeare appears more clearly segmented to the left, the values of figure 4(above) suggest that the pair are not enough to distinguish between authors. The center of mass for each author points to the fact that Shakespeare plays are less dependent on its correlation on the sentence organization, than Doyle and even so for Abbott. To which extent this can be linked to the rationale and style within each work is less evident, and must be done, if possible at all, with extreme care. Let us say that shows, on average, that innovation for Shakespeare, as a process of pattern production, has more to do with what happens within sentences than in the relation between sentences, as compared to the other authors. For each text, the balance between innovation in sentence organization, as measured by , and information correlation between sentences, as shown by , can exhibit a range of variation, much in the sense of the varied nature of each author own works.
A similar analysis can be carried out for . In this case segmentation between authors is more pronounced (Figure 4 middle). The center of mass for each author corresponds to for Abbott, for Doyle and for Shakespeare. Abbott shows the largest spread of values, while Doyle the less. It must be noticed that for a given value of information gain, there is a larger spread in the values of the excess entropy it can accommodate for than for . The values in figure 4(middle) are more cluttered around a straight line that fits the data than what can be seen for figure 4(above).
Finally, and are the largest compared to the other information gain and excess entropy gain. It is not trivial that even in such case, Abbott separates from the other two authors, a fact that can be attributed to the word redundancy in Abbott’s work as captured by the entropy over word use (See table 1). The more extensive vocabulary in use for Shakespeare and Doyle means that once words are formed, larger entropy remains in these two authors compared to Abbott.
V Discussion
A trivial behavior can have two flavors: a rulebased pattern production with no uncertainty, as in a periodic sequence, or a completely random process such as the toss of a coin. A useful text certainly must be between the two extremes. A text dominated exclusively by information production, as measured by a maximum value, will look to the reader as a not very logically driven message, any context is lost from one section to another. A text dominated exclusively by the excess entropy will be as redundant as boring. After reading a finite portion of the text, the reader can skip the rest as conveying no new information that can not be derived unambiguously from what has been read already.
Predictability in a text can have different sources. Grammar, syntax, and semantics determine a set of rules that result in some amount of predictable behavior. So does the fact that a limited vocabulary is always in use. Also important is that in a rational and intelligent message a specific content in a given context is trying to be conveyed by the author. All these factors result in a redundant use of information. There is also the matter of the information flow in a text; one expect certain logic in the construction of a message, where references are made to earlier information written in the same document: there is a flow of information from previous parts in the text as context needed to understand later parts of the same message. Even if complying with all these constraints, there is the source of unpredictability coming from the known fact that there are a high number of different ways the same subject, content, or in general message, can be written.
Even if predictability in natural language comes from constraints and the redundant use of information, this predictability could be built in different ways. When studying complexityentropy diagrams in spin systems under local interaction dynamics, it is clear that for a given value of entropy density , there is a range in possible values of excess entropy. This range can go even from a maximum value down to zero. The same can be seen in
states Markov chains or cellular automata
feldman08 ; crutchfield12 . From those comparisons, it comes as an interesting feature of the complexityentropy diagrams shown here, that it seems that in all cases, for the original works and the randomized sentence texts, the value of shows a narrow spread of value for a given entropy density. Again this has not been the case in other systems as the mentioned examples show. One could infer that in written natural language the system stays near specific values of the excess entropy within a given unpredictability, which is also near a possible maximum value^{2}^{2}2One must be careful though, our data comes from known writers and we cannot exclude the possibility that including inferior English writing can broaden the range of allowed excess entropy values for a given entropy density.. The question rises if maximization of excess entropy keeping a constant entropy density is a trend in natural written language. In figure 2, one can see that for the word randomized text, there is an increase in the range of values for a given , pointing to a loss of such optimization. The other interesting feature, related to the above comment is that, as figure 1 shows, all texts lie along the same straight line with slope and intercept . We analyzed books from over English speaking writers and the straight line held for all this diversity of sources. It could be asked if for different languages the same linear fit can be used and if so, the fitted parameters are universal or change from one language to another.Relevant to the above discussion is a similar analysis performed recently in art paintings sikai18 . Using a different complexity measure, the authors analyzed complexityentropy maps of a large number of authors and paintings spanning over a millennium. Their complexity measure is used to assert repetitions of ordinal patterns in the image and consequently can also be related to redundancy. Similar to our result, the complexity exhibits a narrow spread of value for a given entropy density (See figure 2 in sikai18 ) much in the same fashion as our result. It is remarkable that even if paintings are less constraint in the formal rules as written text, a similar diagram emerges. It may be asked if any intelligent message follows the same trend of accommodating a narrow range of complexity for given randomness. The pair complexityentropy was related to painting style, and therefore style in paintings seem to correlate with the balance between (dis)order and structure. A relevant question also for literary analysis.
If we turn to information and excess entropy gain, the largest values happen for the letter organization within words (Figure 4 middle). Words are the basic units of the language, so is measuring the entropy gain going from a letter ordering, which conveys none, or at least very little, information at all, to the first form of organization, from which an intelligent agent can extract some useful information. This information gain also comes as the result of establishing correlations between portions of the text which explains the large value. The successive gains at the word and sentence levels are decreasingly smaller in both information and excess entropy: organizing the words in sentences has a more significant effect in terms of information and excess entropy than organizing sentences into the final text. The later gives a quantitative measure to an idea that complies with our intuition.
Montemurro and Zanette montemurro15 has used to propose that this measure behaves as a universal constant value across different languages and even language families. As figure 4 shows, the variations of are not random fluctuations resulting from a unique probability distribution for a given language, at least for English, instead, seems to be biased towards different mean values for different authors. The same type of bias was found for (See 7). Given this result, the claim of Montemurro and Zanette has to be reevaluated in its meaning, as seems to be, at least, author dependent.
Conclusions
The interplay between all factors involved in natural languages, subjective and objective, makes writtentext a highly complex data consequence of a highly complex source.
The presented analysis shows that it is possible to, at least partially, assert the balance between innovation, as measured by entropy rate, and structure or context preservation, as measured by excess entropy. Within the scope of natural language, context preservation is associated with the rationality of the message conveyed by the data in the sense of the flow of information from one part of the text to another. Innovation can be related to the production of information.
This complexity organizes at different levels, starting from words, to sentences, to paragraphs and so on, up to the entire text. Is it possible to separate in written natural language, all possible formal and logical constraints from literary creativity? We believe that the answer is yes, at least to some extent, as the results presented here shows. Innovation as the production of new patterns, here followed by , is a partial measure of such capacity. Even more, it is possible to follow innovation at different levels such as in words organization within sentences, followed by , and at the level of sentence organization, followed by . It is clear that for word randomized data the information that remains pertains mainly to the vocabulary used.
We have shown that, furthermore, by suitable manipulation of the data, the contribution from different levels of organization can be separated. One can notice that this separation was possible because separators for different structural units of information were known (spaces for words, periods for sentences). There are many long, complex data, where the knowledge of separators are known, and the analysis here performed can be generalized to such systems. Consider for example DNA as a string of a fourletter alphabet, where it is known that there is a hierarchy of information organization at different scales, starting from three letters codons to genes and beyond. A number of separators are known to exist in DNA at different scales. The tools developed could prove to be useful to identify the interplay of correlation and innovation in DNA and to measure the contribution to these two measures at different scales of organization.
It may be tempting to use the same measures as used here, namely excess entropy and entropy density, to study sources of short messages. It must be considered that for short sequences, such as in for example tweets, the error in the estimates of the measures may prove significant to make them meaningfullesne09 . Further research into short message sources is needed to have a better understanding of the behavior of the used measures with message length, and its comparison to other used methods amancio15 .
The results presented here also opens some question that will be the subject of further research. For example, if given a vocabulary and its frequencies are fixed, how meaningful are the texts that maximizes the excess entropy and minimizes entropy rate?
Vi Supporting information
List of all text used from William Shakespeare.
The two gentlemen of Verona  King Henry VI, First Part 
King Henry VI, Second Part  King Henry VI, Third Part 
King Richard III  The First Part of King Henry the Sixth 
The Rape of Lucrece  The Second part of King Henry the Six 
King Richard the Second  Loves Labours lost 
The life and death of King Richard the Second  A Midsummer Nights Dream 
The First Part of King Henry the Fourth  Romeo and Juliet 
The life and death of King John  The Merchant of Venice 
The Second Part of King Henry IV  King Henry the Fifth 
Much Ado About Nothing  The Life of King Henry the Fifth 
The Taming of the Shrew  Julius Caesar 
As You Like It  The Merry Wives of Windsor 
The Tragedie of Hamlet  Twelfe Night, Or what you will 
The History of Troilus and Cressida  Alls Well, that Ends Well 
The Tragedy of Othello, Moor of Venice  Measure For Measure 
The Tragedie of Anthonie, and Cleopatra  The Tragedie of King Lear 
Pericles  The Life of Timon of Athens 
The Tragedy of Coriolanus  Sonnets 
Cymbeline  The Winters Tale 
The Life of Henry VIII  The tempest 
The third part of King Henry the Six 
List of all text used from Arthur C. Doyle.
A Duet, with an Occasional Chorus  A Study in Scarlet 
Beyond the City  Danger and Other Stories 
Micah Clarke  Round the Fire Stories 
Sir Nigel  Tales of Terror and Mystery 
The Adventures of Gerard  The Adventures of Sherlock Holmes 
The Captain of the Polestar, and Other Tales  The Coming of the Fairies 
The Dealings of Captain Sharkey, and  
Other Tales of Pirates  The Doings of Raffles Haw 
The Exploits of Brigadier Gerard  The Firm of Girdlestone 
The German War  The Great Boer War 
The Great Keinplatz Experiment and Other Tales  
of Twilight and the Unseen  The Great Shadow and Other 
Napoleonic Tales  
The Green Flag, and Other Stories of War and Sport  Through the Magic Door 
The Gully of Bluemansdyke, and Other stories  The Hound of the Baskervilles 
The Last Galley; Impressions and Tales  The Last of the Legions and 
Other Tales of Long Ago  
The Lost World  The Man from Archangel, and 
Other Tales of Adventure  
The Memoirs of Sherlock Holmes  The Mystery of Cloomber 
The New Revelation  The Poison Belt 
The Refugees  The Return of Sherlock Holmes 
The Sign of the Four  The Tragedy of the Korosko 
The Valley of Fear  The Vital Message 
The Wanderings of a Spiritualist  The War in South Africa, Its Cause 
and Conduct  
The White Company 
List of all text used from Jacob Abbott.
Alexander the Great Makers of History  Bruno 
Caleb in the Country  Charles I 
Cleopatra  Cousin Lucys Conversations 
Cyrus the Great  Darius the Great 
Genghis Khan, Makers of History Series  Hannibal 
History of Cleopatra, Queen of Egypt  History of Julius Caesar 
History of King Charles the Second of England  Jonas on a Farm in Winter 
King Alfred of England  Marco Pauls Voyages and 
Travels  
Margaret of Anjou  Mary Erskine 
Mary Queen of Scots  Nero 
Peter the Great  Pyrrhus 
Queen Elizabeth  Richard I 
Richard II  Richard III 
Rollo at Play Or, Safe Amusements  Rollo at Work 
Rollo in Geneva  Rollo in Holland 
Rollo in London  Rollo in Naples 
Rollo in Paris  Rollo in Rome 
Rollo in Scotland  Rollo in Switzerland 
Rollo on the Atlantic  Rollo on the Rhine 
Rollos Experiments  Rollos Museum 
Rollos Philosophy  Romulus 
The Teacher  William the Conqueror 
Xerxes  Vermont 
Vii Acknowledgments
This work has been partially supported by the Cuban Ministry of Higher Education and the University of Havana under a research project grant LEMPELCOMPLEX.
The authors would like to thank the referees, who carefully read the manuscript and made valuable suggestions.
References
 (1) M. A. Nowak and N. L. Komarova. Towards an evolutionary theory of language. Trends in Cognitive Sci., 5:288–295, 2001.
 (2) M. A. Nowak, N. L. Komarova, and P. Niyogi. Computational and evolutionary aspects of language. Nature, 417:611–617, 2002.
 (3) M. A. Montemurro and D. H. Zanette. Universal entropy of word ordering across lingusitic families. Plos One, 6:e19875, 2011.
 (4) N. Chomski. Aspects of the theory of syntax. MIT Press, Cambridge, Mass., 1965.
 (5) J. A. Hawkins. Word order universals. Academic Press, New York, 1983.
 (6) J. A. Hawkins. Efficiency and complexity in grammars. Oxford University Press, Oxford, 2004.
 (7) L. Debowski. Excess entropy in natural language: Present state and perspective. Chaos, 21:037105, 2011.
 (8) E. G. Altmann, G. Cristadoro, and M. D. Esposti. On the origin of longrange correlations in texts. Proc.Natl. Acad. Sci. USA, doi.org/10.1073/pnas.1117723109:310–324, 2011.
 (9) E. AlvarezLacalle, B. Dorow, J. P. Eckmann, and E. Moses. Hierarchical structures induce longrange dynamical correlation in written texts. Proc.Natl. Acad. Sci. USA, 103:7956–7961, 2006.
 (10) M. A. Montemurro and D. Zanette. Towards the quantification of the semantic information encoded in written language. Adv. Complex Syst., 13:135–153, 2010.
 (11) C. Shannon. Prediction and entropy of printed english. Bell Syst. Tech. J., 30:50–64, 1951.
 (12) D. R. Amancio, E. G. Atmann, D. Rybski, O. N. Oliveira, and L. da F. Costa. Probing the statistical properties of unknown texts: Application to the voynich manuscripts. PLOS, 8:e67310, 2013.
 (13) D. R. Amancio. A complex network approach to stylometry. PLOS, 10:e0136076, 2015.
 (14) W. Ebeling and T. Poschel. Entropy, transinformation and word distribution of information–carrying sequences. Int. J. Bifurcation and Chaos, 5:51–61, 1995.
 (15) C. Shannon. A mathematical theory of communication. Bell Syst. Tech. J., 30:379–423, 1951.
 (16) T. Schurmann and P. Grassberg. Entropy estimation of symbol sequence. Chaos, 6:414–427, 1999.
 (17) T. Schurmann and P. Grassberg. The predictability of leters in written english. Fractals, 4:doi.org/10.1142/S0218348X96000029, 1996.
 (18) G. K. Zipf. The PsychoBiology of Language: An Introduction to Dynamic Philology. MIT Press, Cambridge, Mass., 1965.
 (19) B. Mandelbrot. Structure formelle des texte et communication. Word, 10:1–27, 1954.
 (20) G. Herdan. Quantitative Linguistic. Butterworths, 1964.
 (21) H. S. Heaps. Information retrievalComputational and theoretical aspects. Academic Press, 1978.
 (22) J. P. Crutchfield and K. Young. Inferring statistical complexity. Phys. Rev. Lett., 63:105–108, 1989.
 (23) J. P. Crutchfield. Between order and chaos. Nature, 8:17–24, 2012.
 (24) M.A. JimenezMontano, H.F. CoronelBrizio, A.R. HernandezMontoya, and A. RamosFernandez. Codon information value and codon transitionprobability distributions in shortterm evolution. Physics A, 454:117–128, 2016.
 (25) T. M. Cover and J. A. Thomas. Elements of information theory. Second edition. Wiley Interscience, New Jersey, 2006.
 (26) J. Ziv and A. Lempel. A universal algorithm for sequential data compression. IEEE Trans. on Info. Theory., 23:337–343, 1977.
 (27) B. Huberman and T. Hogg. Complexity and adaptation. Physica D, 22:376, 1986.
 (28) P. Grassberger. Towards a quantitative theory of selfgenerated complexity. Int. J. Theo. Phys., 25:907–938, 1986.
 (29) J. Crutchfield and D. P. Feldman. Regularities unseen, randomness observed: Levels of entropy convergence. Chaos, 13:25–54, 2003.
 (30) D. P. Feldman, C. S. McTeque, and J. P. Crutchfield. The organization of intrinsic computation: complexityentropy diagrams and the diversity of natural information processing. Chaos, 18:043106–043121, 2008.
 (31) H. Y. D. Sigaki, M. Perc, and H. V. Ribeiro. History of art painting through the lens of entropy and complexity. PNAS, 115:E8585–E8594, 2018.
 (32) A. Lempel and J. Ziv. On the complexity of finite sequences. IEEE Trans. Inf. Th., IT22:75–81, 1976.
 (33) J. Ziv. Coding theorems for individual sequences. IEEE Trans. Inf. Th., IT24:405–412, 1978.
 (34) A. Lesne, J. l. Blanc, and L. Pezard. Entropy estimation of very short symbolic sequences. Phys. Rev. E, 79:046208–046218, 2009.
 (35) E. EstevezRams, R. Lora Serrano, B. Aragon Fernandez, and I. Brito Reyes. On the nonrandomness of maximum lempel ziv complexity sequences of finite size. Chaos, 23:023118–023124, 2013.

(36)
O. Melchert and A. K. Hartmann.
Analysis of the phase transition in the twodimensional ising ferromagnet using a lempelziv stringparsing scheme and blackbox datacompression utilities.
Phys. Rev. E, 91:023306–023317, 2015.  (37) E. EstevezRams, R. LoraSerrano, C. A. J. Nunes, and B. AragónFernández. LempelZiv complexity analysis of one dimensional cellular automata. Chaos, 25:123106–123116, 2015.
 (38) A grasp at each author work and style can be found at Wikipedia (www.wikipedia.org).
 (39) A. N. Pavlov, W. Ebeling, L. Molgedey, A. R. Ziganshin, and V. S. Anishchenko. Scaling features of texts, images and time series. Physica A, 300:310–324, 2001.
 (40) One must be careful though, our data comes from known writers and we cannot exclude the possibility that including inferior English writing can broaden the range of allowed excess entropy values for a given entropy density.
 (41) D. R. Amancio. Probing the topological properties of complex networks modeling short written texts. PLOS, 10:e0118394, 2015.
Comments
There are no comments yet.