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 a | name b | meaning distance |
|---|---|---|
| yue4_H+yue4_M | joy+moon | 0.200 |
| xing1_S+yang2_W | star+sea | 0.200 |
| qing1_W+yue4_H | qing2_S+le4 | 0.200 |
| qing1_W+yue4_H | ming2_S+huan1 | 0.600 |
| clara+joy | clear+glee | 0.200 |
| qing1_W+yue4_H | qing4_G+yue4_M | 1.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
- Chapter 1 · Far in Spelling, Near in Sound: Edit Distance, Sound Skeletons and the Channels of Confusion
- Chapter 2 · Soundex: a Century-Old Sound Code, Too Wide and Too Narrow
- Chapter 3 · Initial, Final and Tone: a Distance for Chinese Syllables and Homophones across Languages
- Chapter 4 · Component Distance: a Table of Look-Alike Characters and Unicode Normalisation
- Chapter 6 · ROC Curves and Thresholds: Making the Pre-Screen a Calibrated Classifier
- Chapter 7 · East and West in the Sources: the Preface to the Qieyun and Russell's Patent of 1918
- Chapter 8 · A Pre-Screening Loop for New Brand Names, and a Plan to Refute the Book