What does Three-Way Brand Collision Pre-Screening conclude, in numbers, about “Meaning and a Three-Way Score: How a Weighted Mean Dilutes a One-Dimension Collision”?

Answer: Chapter 5 adds meaning and shows that a weighted mean dilutes a collision in one dimension; in seven illustrative pairs, 5 are caught only by the maximum.

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.

name aname bmeaning distance
yue4_H+yue4_Mjoy+moon0.200
xing1_S+yang2_Wstar+sea0.200
qing1_W+yue4_Hqing2_S+le40.200
qing1_W+yue4_Hming2_S+huan10.600
clara+joyclear+glee0.200
qing1_W+yue4_Hqing4_G+yue4_M1.000
groups 7, tokens 23, near cost 0.2
Show the full program
# Chapter 5. p51: semantic distance from a small synonym table.
# Model: a name is a sequence of meaning tokens (character ids from
# p41, or English words). Tokens in the same synonym group are 0.2
# apart, identical tokens 0, all others 1; the name distance is the
# edit distance over tokens divided by the longer length. The group
# table is an illustrative sample; it includes translation pairs, so
# a Chinese name and an English name can be compared on meaning.
GROUPS = {
    "joy": ("yue4_H", "le4", "huan1", "joy", "glee"),
    "moon": ("yue4_M", "moon", "luna"),
    "star": ("xing1_S", "star", "stella"),
    "clear": ("qing1_W", "qing2_S", "clear", "clara"),
    "bright": ("ming2_S", "bright", "shine"),
    "ocean": ("yang2_W", "ocean", "sea"),
    "festive": ("qing4_G", "fiesta"),
}
TAG = {tok: g for g in sorted(GROUPS) for tok in GROUPS[g]}
NEAR = 0.2


def tdist(a, b):
    if a == b:
        return 0.0
    ga, gb = TAG.get(a), TAG.get(b)
    return NEAR if ga is not None and ga == gb else 1.0


def mdist(a, b):
    prev = [float(j) for j in range(len(b) + 1)]
    for i, x in enumerate(a, 1):
        cur = [float(i)]
        for j, y in enumerate(b, 1):
            cur.append(min(prev[j] + 1.0, cur[j - 1] + 1.0,
                           prev[j - 1] + tdist(x, y)))
        prev = cur
    return prev[-1] / max(len(a), len(b))


PAIRS = (
    (("yue4_H", "yue4_M"), ("joy", "moon")),
    (("xing1_S", "yang2_W"), ("star", "sea")),
    (("qing1_W", "yue4_H"), ("qing2_S", "le4")),
    (("qing1_W", "yue4_H"), ("ming2_S", "huan1")),
    (("clara", "joy"), ("clear", "glee")),
    (("qing1_W", "yue4_H"), ("qing4_G", "yue4_M")),
)

if __name__ == "__main__":
    print("name a              name b             meaning distance")
    for a, b in PAIRS:
        print("{:19s} {:19s} {:8.3f}".format("+".join(a), "+".join(b),
                                             mdist(a, b)))
    print("groups {}, tokens {}, near cost {}".format(
        len(GROUPS), len(TAG), 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 5: Meaning and a Three-Way Score: How a Weighted Mean Dilutes a One-Dimension Collision. 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