Richard Hoekstra

Language atlas

Spectral cuts of byte-context graphs

The Fiedler vector is an eigenvector for the second-smallest graph Laplacian eigenvalue. It solves a relaxed spectral minimization problem. A cut chosen from its coordinates need not be balanced or globally optimal among discrete bisections.

The reported inspection of 15 depth-three byte-context graphs found several minority clusters containing other scripts. The Dutch clause examples and the English function-word examples stayed on the majority side. This is evidence about these partitions and encodings. A connected graph can still admit a cut that separates categories.

Reported partitions (first set)

Language nV Majority Minority Minority Content
English 5,980 5,947 (99.4%) 33 Cyrillic byte fragments
Dutch 8,558 8,530 (99.7%) 28 Cyrillic + Xh digraphs
German 8,796 8,767 (99.7%) 29 URL fragments (://, www) + CJK
French 8,946 8,926 (99.8%) 20 Cyrillic byte fragments
Finnish 8,234 8,175 (99.3%) 59 Cyrillic byte fragments
Czech 11,303 11,287 (99.9%) 16 Hebrew byte fragments
Latin 8,880 8,864 (99.8%) 16 Hebrew byte fragments
Turkish 9,723 9,533 (98.0%) 190 Capitalized proper nouns + parenthetical refs
Vietnamese 7,510 7,348 (97.8%) 162 CJK characters (Han)
Hungarian 11,025 11,000 (99.8%) 25 Slavic diacritics + Cyrillic

Reported partitions (second set)

Language nV Majority Minority Minority Content
Chinese 18,246 18,088 (99.1%) 158 Full-width punctuation (,():;)
Japanese 11,497 5,970 (51.9%) 5,527 Section headers (===) + dates (年月日) vs kana/katakana
Korean 10,605 10,524 (99.2%) 81 Year numbers (013, 993) + CJK (本太日)
Arabic 3,221 3,142 (97.5%) 79 Colon-separated refs (:) + Latin identifiers
Russian 5,443 5,235 (96.2%) 208 Latin identifiers (CHA, MS-CHARSET, DES, ERR)

Spectral gaps and script observations

Language mu1 Script Purity
English 0.014 High (33 foreign nodes)
German 0.018 High (29 foreign nodes)
French 0.033 High (20 foreign nodes)
Dutch 0.038 High (28 foreign nodes)
Czech 0.043 Very high (16 foreign nodes)
Latin 0.043 Very high (16 foreign nodes)
Chinese 0.045 Moderate (158 punctuation nodes)
Finnish 0.048 High (59 foreign nodes)
Hungarian 0.063 High (25 foreign nodes)
Vietnamese 0.069 Moderate (162 Han nodes)
Korean 0.071 Moderate (81 foreign nodes)
Arabic 0.074 Moderate (79 Latin nodes)
Russian 0.110 Moderate (208 Latin nodes)
Japanese 0.149 Low (5527 minority = dual script)
Turkish 0.211 Moderate (190 proper-noun nodes)
Cite this page

Richard Hoekstra. Spectral cuts of byte-context graphs. https://richardhoekstra.nl/atlas/fiedler_parser.html