What does Three-Way Brand Collision Pre-Screening conclude, in numbers, about “Initial, Final and Tone: a Distance for Chinese Syllables and Homophones across Languages”?

Answer: qing2-yue4 and qing4-yue4, each differing by one tone, are 0.075 from the base; without tone they are 0.000, identical. qin1-yue4, which differs by a nasal ending, is 0.100. With an initial that is not in the merger table, jing1-yue4 and xing1-yue4 both stand at 0.225. Adding a syllable gives qing1-yue4-xing1 a distance of 0.333, because the insertion costs 1 and is divided by three. qing1-shuo1, with its second syllable replaced, is at 0.500, and ming2-le4, with both replaced, at 0.725. Taking 0.25 as the line, 5 of the eight names lie close to the base.

Scope of the numbers: In an illustrative model, with the sound channel at eight tenths, the AUC of the sound code is 0.851 against 0.817 for letter edit distance. Parameters are illustrative; all calculations are generated by the book's programs; the book is general analysis, not individualised legal advice, and judgements of trademark similarity rest with official searches in each jurisdiction and professional agents.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.000, 0.075, 0.100, 0.225, 0.25, 0.333

base name qing1-yue4
other namedistancetone-blind
qing2-yue40.0750.000
qing4-yue40.0750.000
qin1-yue40.1000.118
jing1-yue40.2250.265
xing1-yue40.2250.265
qing1-yue4-xing10.3330.333
qing1-shuo10.5000.500
ming2-le40.7250.765
names within 0.25 of the base: 5
Show the full program
# Chapter 3. p32: name distance = edit distance over syllables.
# Model: a two- or three-syllable name is a sequence of pinyin
# syllables; insert or delete costs 1, substitution costs the p31
# syllable distance; the result is divided by the longer length.
# A tone-blind variant sets the tone weight to zero and renormalises
# the other two (0.45 and 0.40 over 0.85). Every name is an invented
# pinyin string; no character or registered mark is implied.
import math

INITIALS = ("zh", "ch", "sh", "b", "p", "m", "f", "d", "t", "n", "l",
            "g", "k", "h", "j", "q", "x", "r", "z", "c", "s", "y", "w")
NEAR_I = {frozenset(p) for p in (("zh", "z"), ("ch", "c"), ("sh", "s"),
                                 ("n", "l"), ("f", "h"))}
NEAR_F = {frozenset(p) for p in (("en", "eng"), ("in", "ing"),
                                 ("an", "ang"))}


def parse(syl):
    tone, body = syl[-1], syl[:-1]
    for ini in INITIALS:
        if body.startswith(ini) and len(body) > len(ini):
            return ini, body[len(ini):], tone
    return "", body, tone


def part(a, b, near):
    if a == b:
        return 0.0
    return 0.5 if frozenset((a, b)) in near else 1.0


def syl_dist(a, b, w=(0.45, 0.40, 0.15)):
    ia, fa, ta = parse(a)
    ib, fb, tb = parse(b)
    return math.fsum([w[0] * part(ia, ib, NEAR_I),
                      w[1] * part(fa, fb, NEAR_F),
                      w[2] * (0.0 if ta == tb else 1.0)])


def name_dist(a, b, w=(0.45, 0.40, 0.15)):
    sa, sb = a.split("-"), b.split("-")
    prev = [float(j) for j in range(len(sb) + 1)]
    for i, x in enumerate(sa, 1):
        cur = [float(i)]
        for j, y in enumerate(sb, 1):
            cur.append(min(prev[j] + 1.0, cur[j - 1] + 1.0,
                           prev[j - 1] + syl_dist(x, y, w)))
        prev = cur
    return prev[-1] / max(len(sa), len(sb))


BASE = "qing1-yue4"
OTHERS = ("qing2-yue4", "qing4-yue4", "qin1-yue4", "jing1-yue4",
          "qing1-yue4-xing1", "xing1-yue4", "qing1-shuo1", "ming2-le4")
BLIND = (0.45 / 0.85, 0.40 / 0.85, 0.0)

if __name__ == "__main__":
    print("base name {}".format(BASE))
    print("other name          distance  tone-blind")
    rows = sorted((name_dist(BASE, o), name_dist(BASE, o, BLIND), o)
                  for o in OTHERS)
    for d, b, o in rows:
        print("{:18s} {:9.3f} {:11.3f}".format(o, d, b))
    near = [o for d, b, o in rows if d <= 0.25]
    print("names within 0.25 of the base: {}".format(len(near)))

Single source and citation

Fan, Y. (2026). Phonetic, Graphic and Semantic Distance between Trademarks: Pre-Screening Brand-Name Collisions from Fanqie Spellings to Sound Codes (Version 1.0.0), Chapter 3: Initial, Final and Tone: a Distance for Chinese Syllables and Homophones across Languages. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-317 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026317,
  author    = {Fan, Yafu},
  title     = {Phonetic, Graphic and Semantic Distance between Trademarks: Pre-Screening Brand-Name Collisions from Fanqie Spellings to Sound Codes},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book