Corpus comparison
Clustering texts by shared byte cycles
For each of 49 Wikipedia extracts, the analysis takes the catalogue of high-flow depth-three cycles. It represents each cycle by a set of context strings, computes Jaccard distance between catalogues and applies average-linkage clustering. The program never evaluates an Ihara zeta function or its poles. Overlap can reflect encoding, vocabulary, borrowed text and corpus choice.
The displayed dendrogram first joins Irish and Tagalog at 0.919 and joins Welsh to them at 0.933. Welsh and Tagalog are therefore not a terminal sister pair even in this clustering. These heights measure catalogue dissimilarity. A comparison of known families would need prespecified groupings, an appropriate null and validation on independent text. The table of shared cycles is evidence about these particular extracts.
Examples of shared cycle labels in the manuscript
| Cycle class | Languages containing it |
|---|---|
| aer / era / rae | Dutch, Portuguese, Romanian, Tagalog, Welsh |
| aig / gai / iga | Indonesian, Irish, Tagalog, Welsh |
April manuscript with correction (HTML) · Annotated manuscript (PDF)
Cite this page
Richard Hoekstra. Clustering texts by shared byte cycles. https://richardhoekstra.nl/papers/spectral-phylogeny.html