Generation method of short spelling input method

By assigning initials and finals to specific keys, and using short spelling encoding and completion methods to generate short spelling input methods, the problems of excessive length of codes and high repetition rate of existing Chinese character input methods are solved, achieving more efficient input speed and better feel.

CN119987568APending Publication Date: 2025-05-13彭秀峰
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510078170.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

Existing Chinese character input methods such as the full spelling input method and the double spelling input method have problems such as the long code length, high code repetition rate, and high learning cost, resulting in slow input speed and inconvenience.

Method used

By assigning the initials and finals to specific keys on the keyboard, the syllables of the full spelling input method are mapped to short short spelling codes, and the re-code problem is solved by using methods such as the rhyme completion method, the zero-sort vowel method and the stroke identification code to generate the short spelling input method.

Benefits of technology

It significantly shortens the user's input code length, reduces the time for users to select words or words, improves the input speed and feel, and lowers the learning threshold.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119987568A_ABST
    Figure CN119987568A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of Chinese character input, and particularly discloses a method for generating a short spelling input method, which comprises the following steps of: respectively distributing initial consonants and final consonants to specific key positions on a keyboard to obtain initial consonant and final consonant key position maps; syllables in the full spelling input method are mapped into short spelling codes, and a short spelling and full spelling mapping table is obtained; replacing the pinyin full spelling code table of the Chinese character with short spelling to obtain a short spelling code table; the problem of repeated codes in pinyin is solved through a provincial final complementation method and a zero final method; single character repeated codes are further distinguished by adding stroke identification codes of Chinese characters; coding the words according to the single-character code table to generate a word code table; hooking the code table generated in the previous step to an input method hooking platform to generate an input method; according to the method, the syllables in the full spelling input method are mapped into short spelling codes, and the coincident code problem is solved by adopting a provincial final complementation method, a zero final method, a stroke identification code method and the like, so that the input code length of a user can be greatly shortened, and the time for selecting characters or words by the user is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of Chinese character input, and in particular relates to a method for generating a short spelling input method. Background Art

[0002] Chinese character keyboard input methods are currently mainly divided into shape codes, phonetic codes, shape-phonetic codes, phonetic-shape codes, and irrational codes. Short-spelling input methods can be classified as phonetic codes. The more popular input methods include full-spelling input method, double-spelling input method, Wubi input method, Cangjie input method, etc. Among them, the full-spelling input method does not need to be learned, but the code length is long, there are many repeated codes, so the speed is slow. The double-spelling input method requires memorizing the pronunciation and vowel arrangement table, the code length is short, the repeated codes are the same as full-spelling, and the speed is faster than full-spelling. The Wubi input method has a low repeated code rate. After proficiency, it can be completely realized blind typing, which is faster than full-spelling and double-spelling. Cangjie input method is mainly used to input traditional Chinese characters.

[0003] Among the above, although the full-pinyin input method has a low learning cost, the code length is too long and there are too many repeated codes. Users often need to select repeated codes when inputting, which is not convenient to use. When typing uncommon words or single characters, they need to search for a long time in the candidate box; when learning the double-pinyin input method, you need to memorize the key positions of more than 30 finals, and the learning cost is relatively high. The keys that are difficult to press, such as Q, Z, and P, are used as finals, and the feel is worse than the full-pinyin. The initial consonant positions are all occupied by finals at the same time, and there are many conflicts when using simplified pinyin; the shape code input method is represented by the Wubi input method, which requires memorizing a large number of radical positions, and the learning cost is relatively high. In addition, if a character cannot be written, it cannot be typed directly using the shape code, and it is necessary to switch to pinyin to type it. There are many inconveniences when using it. Summary of the invention

[0004] The object of the present invention is to provide a method for generating a short spelling input method to solve the problems raised in the above-mentioned background technology.

[0005] To achieve the above object, the present invention provides the following technical solutions:

[0006] A method for generating a short spelling input method comprises the following steps:

[0007] S1, assigning initial consonants and finals to specific keys on the keyboard respectively, and obtaining an initial consonant and final key position map;

[0008] S2, mapping the syllables in the full spelling input method to shorter short spelling codes, and obtaining a short spelling and full spelling mapping table;

[0009] S3. When a syllable has the same pronunciation as its initial consonant, omitting its final part does not affect the integrity of the syllable at all.

[0010] S4, replacing the full spelling code table of the Chinese character with the short spelling code table to obtain the short spelling code table;

[0011] S5. Solve the homophone problem in pinyin by using the provincial rhyme completion method and the zero initial method. In the provincial rhyme completion method, the omitted finals are completed to distinguish homophones. In the zero initial method, specific symbols are set as zero initials to distinguish homophones;

[0012] S6. Further distinguish single-character homophones by adding stroke recognition codes for Chinese characters;

[0013] S7. Encode words according to the single-character code table, be compatible with short pinyin full code, short pinyin duplicate removal code and short pinyin stroke recognition code, and generate a word code table;

[0014] S8. Hang the code table generated in the above steps to the input method hanging platform to generate an input method.

[0015] Preferably, in the initial-final key layout diagram, zh, ch, and sh are respectively placed on the z, c, and s keys, an, ang, en, and eng are respectively placed on the F, R, N, and K keys, iao and uai are merged on the o key, and it is stipulated that the B, P, M, D, T, L, G, H, J, Q, X, Z, C, S, Y, and W keys are used for the input of initials, while the A, O, E, I, U, and V keys are mainly used for the input of finals. The F, R, N, and K keys are used for the input of both initials and finals. The V key is simultaneously used for the input of zero initials. The A, O, and E are simultaneously used for the input of zero initials. When inputting a syllable without an initial, first input the initial consonant of the syllable as a zero initial to replace the initial position, and then input the syllable to complete the input. For example: e = EE, ang = AR, ou = OOU (where R represents ang).

[0016] Preferably, the specific mapping rules of the short pinyin and full pinyin mapping table include: mapping zh, ch, and sh to the short pinyin forms after z, c, and s respectively, merging z, c, and s onto j, q, and x respectively. On the one hand, it distinguishes between flat and retroflex initials, and on the other hand, it does not cause syllable confusion. Mapping an, ang, en, and eng to the short pinyin forms on the F, R, N, and K keys respectively, and merging iao and uai into the short pinyin form on the o key, as well as other mapping relationships formulated according to the rules of the present invention.

[0017] Preferably, in the stroke recognition code, a, o, e, i, u, and v respectively represent one, vertical, left-falling stroke, dot, hook, and cross. When there are still homophones after inputting the pinyin, further distinguish Chinese characters by adding one to three stroke recognition codes.

[0018] Preferably, in the step of generating the word code table, be compatible with the short pinyin full code, the short pinyin duplicate removal code, and the short pinyin stroke recognition code.

[0019] Compared with the prior art, the beneficial effects of the present invention are:

[0020] (1) By mapping the syllables in the full-pinyin input method into shorter short-spelling codes and using methods such as omitting rhyme completion, zero vowel method and stroke recognition code to solve the problem of duplicate codes, the user's input code length can be greatly shortened, reducing the time for users to select characters or words, thereby significantly improving the input speed. Compared with the full-pinyin input method, the short-spelling input method has obvious advantages in input efficiency.

[0021] (2) In the design of the initial and final key map, the user's usage habits and typing speed are taken into consideration. The initial and final are assigned to specific keys on the keyboard, so that the input can maintain a good feel and easily improve the typing speed. At the same time, it also supports simplified pinyin input, further shortening the code length and improving input efficiency. With the same average code length as double pinyin, it achieves a better feel and a lower learning threshold than double pinyin.

[0022] (3) By introducing multiple factors such as the frequency of use of stroke recognition codes and word encoding weights, the accuracy and practicality of the input method are improved. It is also compatible with multiple input methods such as short spelling full code, short spelling deduplication code and short spelling stroke recognition code, meeting different needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0025] Embodiment 1:

[0026] See also Figure 1 As shown, a method for generating a short spelling input method comprises the following steps:

[0027] S1, assigning initial consonants and finals to specific keys on the keyboard respectively, and obtaining an initial consonant and final key position map;

[0028] S2, mapping the syllables in the full spelling input method to shorter short spelling codes, and obtaining a short spelling and full spelling mapping table;

[0029] S3. For initial consonants with a hu pronunciation, omit the final part without affecting the integrity of the syllable;

[0030] S4, replacing the full spelling code table of the Chinese character with the short spelling code table to obtain the short spelling code table;

[0031] S5. Solve the homophone problem in pinyin by using the provincial rhyme completion method and the zero initial method. In the provincial rhyme completion method, the omitted finals are completed to distinguish homophones, and in the zero initial method, a specific symbol is set as the zero initial to distinguish homophones.

[0032] S6. Further distinguish single-character homophones by adding stroke recognition codes for Chinese characters.

[0033] S7. Encode words according to the single-character code table, compatible with short pinyin full code, short pinyin de-duplicated code, and short pinyin stroke recognition code, to generate a word code table.

[0034] S8. Hang the code table generated in the above steps on the input method hanging platform to generate an input method.

[0035] In an embodiment of the present invention, in the initial-final key layout diagram, zh, ch, and sh are respectively placed on the z, c, and s keys, an, ang, en, and eng are respectively placed on the F, R, N, and K keys, iao and uai are merged on the o key, and it is stipulated that the B, P, M, D, T, L, G, H, J, Q, X, Z, C, S, Y, and W keys are used for the input of initials, while the A, O, E, I, U, and V keys are mainly used for the input of finals. The F, R, N, and K keys are used for the input of both initials and finals. The V key is used for the input of zero initials at the same time, and the A, O, and E are used for the input of zero initials at the same time. When inputting a syllable without an initial, first input the initial consonant of the syllable as the zero initial to replace the initial position, and then input the syllable to complete the input. For example: e = EE, ang = AR, ou = OOU (where R represents ang).

[0036] In an embodiment of the present invention, the short pinyin forms after mapping zh, ch, and sh to z, c, and s respectively, and z, c, and s are respectively merged on j, q, and x. On the one hand, it distinguishes between flat and retroflex sounds, and on the other hand, it does not cause syllable confusion. The short pinyin forms of an, ang, en, and eng are respectively mapped to the F, R, N, and K keys, and the short pinyin forms of iao and uai are merged and mapped to the o key, as well as other mapping relationships formulated according to the Chinese pinyin rules and the specific rules of the present invention.

[0037] In an embodiment of the present invention, in the stroke recognition code, a, o, e, i, u, and v respectively represent one, vertical, left-falling stroke, dot, hook (folding stroke), and cross (cross and 乂 cross). When there are still homophones after the user inputs the pinyin, the Chinese characters can be further distinguished by adding one to three stroke recognition codes.

[0038] In an embodiment of the present invention, in the step of generating the word code table, it is compatible with the short pinyin full code, the short pinyin de-duplicated code, and the short pinyin stroke recognition code, that is, the user can choose to input the complete short pinyin code, the short pinyin code after using the de-duplication method, or the short pinyin code after adding the stroke recognition code according to needs to input words.

[0039] The comparison between the short spelling input method and the full spelling and double spelling input methods is shown in the following table:

[0040]

[0041]

[0042] The specific indicators that can reflect the performance of the short spelling input method include:

[0043] 1. Code length index

[0044]

[0045] Among them, n is the total number of Chinese characters, which represents the range of Chinese characters that the input method needs to process, l i is the short spelling code length of the i-th Chinese character, p i is the frequency of use of the ith Chinese character in the corpus. Based on the statistics of the corpus, the average code length of short spelling before the introduction of simplified spelling is 2.22, which is much lower than the 3.45 of full spelling and close to the 2.0 of double spelling;

[0046] 2. Short-spelling duplicate code separation index

[0047] Due to the existence of zero finals and omitted rhyme completion, some homophones are separated from the original syllables, reducing the ambiguity in the whole sentence input. For full spelling, its repetition rate can be defined as the mathematical expectation of the probability of unwanted homophones appearing in the candidates, which is equal to:

[0048]

[0049] Among them, P 0 (i) is the sum of the frequencies of all homophones corresponding to the syllable of the i-th Chinese character, The probability of selecting an unwanted homophone when inputting the i-th Chinese character. Similarly, the repetition rate of short syllables is:

[0050]

[0051] Where P(i) is the sum of the frequencies of the remaining homophones after the homophones are separated by short spelling. Obviously, since P0(i) < P 0 (i) Make the repetition rate D of the short spelling less than the repetition rate D of the full spelling 0 Therefore, the separation degree of short spelling deduplication code is defined as:

[0052]

[0053] This means that removing duplicate codes makes the short spelling more accurate than the full spelling by this percentage on average.

[0054] 3. Separation index of stroke recognition code

[0055] The stroke recognition code can greatly increase the probability of the desired word appearing in the first choice when inputting a single word, and reduce the number of repeated selections. Definition: W 0 is the sum of the frequencies of all words that cannot appear in the first choice after only the short spelling full code is entered or the duplicate code is removed; W 1 , W 2 , W 3 is the sum of the frequencies of all words that still cannot appear in the first choice after adding one, two, and three identification codes respectively. 3 <W 2 <W 1 <W 0 , which greatly reduces the probability of needing to select duplicates for short spellings. Therefore, the separation degree of the stroke recognition code is defined as:

[0056]

[0057] This means that the recognition code reduces the number of times you need to select the last word when entering a short spelling by this value on average compared to the full spelling.

[0058] Among them, repeated codes are a type of input method that has multiple Chinese character candidates after all the codes in the rules are entered. Repeated codes greatly affect the speed of Chinese character input, because when encountering repeated codes, users cannot directly enter the screen and need to pause to select characters.

[0059] The identification code is a solution to eliminate duplicate codes. That is, if duplicate codes still appear after the Chinese character codes are obtained according to the root rules, the stroke codes are added to divert the Chinese characters, thereby reducing duplicate codes.

[0060] The zero final is a key that has no final but occupies the final position. In short spelling, the zero final is the V key.

[0061] The code length is the total number of keys required to input a paragraph of text divided by the total number of characters in the paragraph. For a single Chinese character, it refers to the total number of keys required to input the character. The shorter the code length, the fewer keys the user needs to press to input the same text, and the faster the speed.

[0062] A code table encodes each Chinese character according to certain rules. All the Chinese characters in a character library (such as the national standard 6762-character character library) are encoded and placed in a TXT document, which is called a code table.

[0063] Blind typing is typing without looking at the keyboard or the display. It can only be achieved when there are very few repeated codes and there is no or very little need to select words.

[0064] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for generating a short spelling input method, characterized in that: Including the following steps: S1. Assign initials and finals to specific key positions on the keyboard respectively to obtain an initial-final key layout diagram; S2. Map the syllables in the full-pinyin input method to shorter short-pinyin codes to obtain a short-pinyin and full-pinyin mapping table; S3. For initials with aspirated sounds, omit their final parts on the premise of not affecting the integrity of the syllable; S4. Replace the full-pinyin code table of Chinese characters with short-pinyin to obtain a short-pinyin code table; S5. Solve the homophone problem in pinyin through the method of supplementing omitted finals and the zero-final method. The method of supplementing omitted finals is to supplement the omitted finals to distinguish homophones, and the zero-final method is to set a specific symbol as the zero-final to distinguish homophones; S6. Further distinguish single-character homophones by adding stroke recognition codes of Chinese characters; S7. Code words according to the single-character code table, compatible with short-pinyin full code, short-pinyin de-duplicated code and short-pinyin stroke recognition code, to generate a word code table; S8. Hang the code tables generated in the above steps to the input method hanging platform to generate an input method.

2. The method for generating a short spelling input method according to claim 1, wherein: In the initial-final key layout diagram, place zh, ch, sh on the z, c, s keys respectively, place an, ang, en, eng on the F, R, N, K keys respectively, merge iao and uai on the o key, and stipulate that the keys B, P, M, D, T, L, G, H, J, Q, X, Z, C, S, Y, W are used for inputting initials, while the keys A, O, E, I, U, V are mainly used for inputting finals. The keys F, R, N, K are used for inputting both initials and finals. The V key is used for inputting zero finals at the same time. The keys A, O, E are used for inputting zero initials at the same time. When inputting a syllable without an initial, first input the initial consonant of the syllable as the zero initial to replace the initial position, and then input the syllable to complete the input.

3. The method for generating a short spelling input method according to claim 1, wherein: The specific mapping rules of the short-pinyin and full-pinyin mapping table include: map zh, ch, sh to the short-pinyin forms after z, c, s respectively, merge z, c, s on j, q, x respectively to form short-pinyin, map an, ang, en, eng to the short-pinyin forms on F, R, N, K respectively, merge and map iao and uai to the short-pinyin form on o, and other mapping relationships formulated according to the rules of the present invention.

4. The method for generating a short spelling input method according to claim 1, wherein: In the stroke recognition code, a, o, e, i, u, v represent one stroke, vertical stroke, left-falling stroke, dot stroke, hook stroke, cross stroke respectively. When there are still homophones after inputting the pinyin, further distinguish Chinese characters by adding one to three stroke recognition codes.

5. The method for generating a short spelling input method according to claim 1, wherein: In the step of generating the word code table, it is compatible with short-pinyin full code, short-pinyin de-duplicated code and short-pinyin stroke recognition code.