![]() |
|
Automated Topic Analysis of the Voynich Manuscript - 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: Automated Topic Analysis of the Voynich Manuscript (/thread-4834.html) |
Automated Topic Analysis of the Voynich Manuscript - quimqu - 31-07-2025 Introduction Previous studies have examined the topics of the Voynich manuscript by looking at the distribution of words or patterns across its pages. However, to the best of my knowledge, there has not yet been a fully automated topic modelling analysis that compares multiple algorithms. In this work, I present an automated page-by-page topic analysis of the Voynich manuscript using three different models:
The goal is to see how each model clusters the pages, whether patterns align with the manuscript’s illustrated sections (Botanical, Astronomical, Biological, Cosmological, Pharmacological, Recipes), and to observe if there are topics that dominate certain sections. METHODOLOGY: HOW THE MODELS DETECT TOPICS LDA (Latent Dirichlet Allocation) LDA treats each page as a bag of words and assumes:
BERTopic BERTopic uses transformer-based embeddings (BERT) to represent each page as a high-dimensional vector capturing semantic similarity. It then applies dimensionality reduction (UMAP) and clustering (HDBSCAN) to group similar pages. Finally, it extracts the most representative words for each cluster to define topics. This allows for more nuanced grouping, even with subtle vocabulary differences. NMF (Non-negative Matrix Factorization) NMF uses a term-frequency matrix (TF-IDF weighted) and factorizes it into two smaller matrices:
RESULTS Each model produces two complementary visualizations: Timeline Plot (Top)
How to interpret: Clusters of the same marker in the same color band indicate topic consistency within a section. Sudden changes of marker shape within a section may suggest variation or topic. Heatmap (Bottom)
How to interpret: A bright yellow cell (value near 1) means that almost all folios in that section belong to a single topic → high homogeneity. A row with several colored cells means that section contains multiple topics → possible internal diversity or mixed content. Note 1: topic numbers 1, 2, 3, 4, 5 are not the same topics for all the models. It is just a label for a topic in a model. Note 2: ordered folios in timeline diagram should be read as "pages". Eg: page 48 should be f25v and 49 should be You are not allowed to view links. Register or Login to view. (as page 1 is f1r) LDA (5 Topics) ![]()
BERTopic (5 Topics) [size=1] [/size]
NMF (3 Topics) ![]()
MY THOUGHTS Across all three models, the Biological and Cosmological sections appear linguistically homogeneous (each model consistently assigns a single dominant topic to them, with at most two topics for the Cosmological section in the BERTopic model). This could reflect genuine stylistic uniformity or simply the models’ sensitivity to repeated patterns in the text. But what if the Cosmological section is in fact closely linked to the Biological section? Botanical and Pharmacological sections consistently appear more heterogeneous:
A striking observation in BERTopic:
In NMF:
I would like to read your comments. Thank you RE: Automated Topic Analysis of the Voynich Manuscript - ReneZ - 31-07-2025 RE: Automated Topic Analysis of the Voynich Manuscript - quimqu - 31-07-2025 RE: Automated Topic Analysis of the Voynich Manuscript - magnesium - 31-07-2025 RE: Automated Topic Analysis of the Voynich Manuscript - quimqu - 31-07-2025 RE: Automated Topic Analysis of the Voynich Manuscript - nablator - 31-07-2025 RE: Automated Topic Analysis of the Voynich Manuscript - quimqu - 31-07-2025 RE: Automated Topic Analysis of the Voynich Manuscript - Jorge_Stolfi - 31-07-2025 RE: Automated Topic Analysis of the Voynich Manuscript - quimqu - 31-07-2025 RE: Automated Topic Analysis of the Voynich Manuscript - GreyCat - 03-08-2025 |