Symphonym maps toponyms (place names) from 20 writing systems into a unified
128-dimensional phonetic embedding space, enabling direct cross-script similarity
comparison without runtime phonetic conversion or language identification.
Cross-script toponym matching in geographic databases and gazetteers
Phonetic search — retrieve results for a place name entered in any script
Historical record linkage — match pre-standardisation spelling variants
Multilingual named entity linking in NLP pipelines
Digital humanities — reconciling place references across archival sources
The model operates on phonetic similarity, not semantic or orthographic similarity.
It is designed as a candidate retrieval component within a larger reconciliation
pipeline, where candidates are subsequently filtered by geographic proximity and
other constraints.
The length bucket embedding (16 buckets, 8-dim) conditions every character
representation on sequence length, mitigating spurious matches between short
toponyms and long compound strings.
Three-Phase Training Curriculum
Phase
Objective
Epochs
Notes
1
Teacher: triplet margin loss on PanPhon192 features
MEHDIE Hebrew–Arabic Historical Benchmark (Sagi et al., 2025)
Independent evaluation on medieval Hebrew and Arabic geographical sources — not in training data.
Method
R@1
R@5
R@10
MRR
PanPhon192 (ablation)
41.1%
48.2%
52.3%
45.0%
Levenshtein + AnyAscii
81.5%
97.5%
99.4%
88.5%
Jaro-Winkler + AnyAscii
78.5%
96.2%
97.8%
86.3%
Symphonym v7
85.2%
97.0%
97.6%
90.8%
The PanPhon192 ablation (raw articulatory features, no neural training) achieves only
45.0% MRR — less than half Symphonym's score and below the string baselines —
confirming that performance derives from the training curriculum, not the phonetic
features alone.
Systematically sampled from training data (up to 10 pairs per script-pair bin); these
test embedding retrieval quality over the full 67M-toponym index, not generalisation
to unseen sources.
v6 exhibited 0% IPA coverage for Hiragana (151,980 toponyms) and Katakana (340,555 toponyms)
despite both being natively supported by Epitran (jpn-Hira, jpn-Kana). The pipeline
was dispatching by language first (lang=ja), routing all Japanese toponyms to CharsiuG2P
which only processes CJK/Kanji. v7 fixes this by dispatching on detected script before
language code, restoring IPA coverage for 492,535 toponyms. The model was retrained from scratch.
Training Data
Trained on 66.9 million unique toponyms from:
Source
License
GeoNames
CC BY 4.0
Wikidata
CC0
Getty TGN
ODC-By 1.0
54.0% of training-namespace toponyms received IPA transcription; the remainder
contribute to the Student's character-level learning via distillation.
Repository Contents
model.safetensors Student (UniversalEncoder) weights
config.json Architecture hyperparameters
inference.py Self-contained inference module
requirements.txt Dependencies
vocab/
char_vocab.json 113,280-character vocabulary
lang_vocab.json 1,944 ISO language codes
script_vocab.json 20 script categories
evaluation/
mehdie_results_v7_ranking.json
symphonym_v7_pairs_test_report.json
training_stats/
coverage_stats.json IPA coverage by script and language
phase{1,2,3}_metrics.json
epitran_extensions/ 102 custom CSV G2P files
Limitations
Phonetic similarity only: The model does not use geographic coordinates,
semantic information, or entity types. Phonetically similar but geographically
unrelated names (Austria/Australia: 0.883) will score highly.
Training bias: Sources over-represent populated places with official names
in high-resource languages. Performance on under-represented scripts and
mundane places may be weaker.
Tonal languages: PanPhon encodes segmental articulatory features but not
tone. Tonal minimal pairs in place names are rare in practice.
CJK–Hiragana pairs: Mean similarity 0.437, reflecting that CharsiuG2P
produces Mandarin phonetics for Kanji while Epitran produces Japanese readings
for Hiragana — a genuine phonological mismatch, not a model deficiency.
Citation
If you use Symphonym in your research, please cite the preprint and the Zenodo dataset:
bibtex
1@misc{symphonym2025,
2 author = {Gadd, Stephen},
3 title = {Symphonym: Universal Phonetic Embeddings for Cross-Script Name Matching},
4 year = {2026},
5 eprint = {2601.06932},
6 archivePrefix = {arXiv},
7 primaryClass = {cs.CL},
8 url = {https://arxiv.org/abs/2601.06932},
9 doi = {10.48550/arXiv.2601.06932}
10}
1112@dataset{symphonym_v7_zenodo,
13 title = {Symphonym v7 — Universal Phonetic Embeddings for Cross-Script Toponym Matching},
14 year = {2026},
15 doi = {10.5281/zenodo.18682017},
16 url = {https://doi.org/10.5281/zenodo.18682017}
17}