![]() |
Binomial distribution in VMS - Printable Version +- The Voynich Ninja (https://www.voynich.ninja) +-- Forum: Voynich Research (https://www.voynich.ninja/forum-27.html) +--- Forum: Analysis of the text (https://www.voynich.ninja/forum-41.html) +--- Thread: Binomial distribution in VMS (/thread-4353.html) |
RE: Binomial distribution in VMS - nablator - 19-08-2024 Speculum humanae salvationis (37,000 words, Latin) Dante Alighieri - La divina commedia (97,000 words, Italian) Christine de Pisan - Le Livre du chemin de long estude (35,000 words, French) RE: Binomial distribution in VMS - bi3mw - 19-08-2024 Yes, that's a nice confirmation of my guess ! edit: is Speculum humanae salvationis online anywhere ? RE: Binomial distribution in VMS - nablator - 19-08-2024 (19-08-2024, 09:12 PM)bi3mw Wrote: You are not allowed to view links. Register or Login to view.edit: is Speculum humanae salvationis online anywhere ? Yes but the OCR is bad. I fixed it. ![]() By Lutz and Perdrizet (published 1907 and 1909): You are not allowed to view links. Register or Login to view. You are not allowed to view links. Register or Login to view. RE: Binomial distribution in VMS - bi3mw - 20-08-2024 For what it's worth, here is the merged Speculum humanae salvationis with its binomially distributed variant. The top line is always the original and the line below is the generated line. For a better overview, a blank line is inserted after every two lines. However, it is very unlikely that a pattern can be recognized that could be transferred to the VMS. ![]() ( The text file is in UTF-8 format ) RE: Binomial distribution in VMS - bi3mw - 21-08-2024 I have modified the code in the first post. The aim was to make the text easier to reconstruct and to find a method that also generates duplicate strings. The binomial distribution should be strictly maintained (this requires the shortening and lengthening of words). How does this work? If the program has to shorten a word, it saves the part of the word that was cut off. This saved part is then used to lengthen other words when the next word needs to be made longer. So if a word, say "cat", needs to be lengthened to a length of 5 characters, and a part like "ze" was left over from the last shortening, this part is used to lengthen the word, i.e. from "cat" to "catze". What happens exactly? Shortening words: If a word is too long, it is shortened to the desired length. The truncated part of the word is saved because this part is used later to lengthen a word. Lengthening words: If a word is too short, it is lengthened to the desired length. The saved part of the previously shortened word is used. If this part is not long enough to achieve the desired length, it is repeated or cut off. These are the repeating strings ( not as many as in the VMS, but at least they are there. ) : 'eliooo' 'elisa' 'felic' 'judi' 'moys' 'obtuli' 'off' 'sae' 'sancti' Code: import sys ![]() RE: Binomial distribution in VMS - Koen G - 21-08-2024 When I run the code, no matter which text I use, I always get the same image ![]() RE: Binomial distribution in VMS - bi3mw - 21-08-2024 Hi Koen, do you mean the code from post #19 ? RE: Binomial distribution in VMS - Koen G - 21-08-2024 The one from post 25. RE: Binomial distribution in VMS - bi3mw - 21-08-2024 Hmm, I have now removed the graphical output from the code. I would suggest you run this code and plot the file with the code from post #19 afterwards. Note: the program generates a binomial distributed textfile from your input file. So the graph should look as shown in any case. call: python adjust_word_length.py <input_filename> <output_filename> RE: Binomial distribution in VMS - Koen G - 21-08-2024 Aah the graph is for the output, I missed that. I was too focused on getting Python to work (I use it like once a year so I have to figure it out each time). I will use your earlier code. Edit: it works now. I wrote a txt file for myself explaining how to use python code in case I forget again next year ![]() |