banner
飞翔@羽毛

©XYZ翠翔羽翥xLog

羽毛翻飞^^变幻弦波~~
bilibili
douban
github
x
xiaoyuzhou
zhihu
email

The Wubi three-character word group code retrieval rule has been changed to 2-1-1.

I vaguely feel that the coding rules for Wubi three-character phrases seem somewhat out of place (compared to other character phrases), and I have been unable to figure out what's wrong. Today, suddenly I realized - the second character for coding in a phrase should not be the last character, but the first character!

The coding rules for phrases should be consistent with single characters, such as for phrases with four or more characters, each of the first, second, and last characters should be coded. In principle, it is "balanced," and each character should not have more than two codes to avoid increasing the memory burden. The problem lies in this principle of balance. The coding rules for other character phrases are obvious, but only three-character phrases are an exception - should the extra code be taken from the first character or the last character?

The two methods of new (2-1-1) and old (1-1-2) seem to have the same "balance," but there are subtle and even important differences. According to the coding rules for single characters (including character phrases with four or more characters), it skips the radical between the third and last characters, meaning that if balance cannot be fully achieved, the later part can be omitted, and the weight can be slightly weaker. Therefore, for three-character phrases, the extra code should not be placed on the last character, but on the first character.

Proof completed ■
P.S. From the perspective of repetition rate, it should not deteriorate. People with common surnames like Zhang, Wang, Li, etc., may have a slight increase in repetition, but the impact is not significant, and it may occasionally reduce repetition between names and other character phrases.
P.P.S. Zhengma unexpectedly follows a 1-2-1 rule, I really need to broaden my knowledge.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.