Chinese character expression rule making method and method and device for making Chinese characters into expressions

By defining the combination of syllables, tone and custom identification fields, Chinese character expressions are formed, which solves the problems of Chinese character pronunciation and text conversion in computer systems, realizes the readability and flexibility of Chinese characters, and supports various forms of display and conversion. .

CN119089864APending Publication Date: 2024-12-06杨明伟
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310653981.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-05
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The existing technology cannot effectively solve the problem of pronunciation and text conversion of Chinese characters in computer systems, especially the precise matching of polyphonic characters and the conversion of traditional Chinese characters, which affects the reading and usage experience of Chinese characters.

Method used

A method for formulating Chinese expression rules in Chinese characters is proposed. By defining the combination of syllable fields, tone fields and custom identification fields, a unique Chinese character expression is formed, and the basic set of Chinese character expressions is constructed to realize the storage and data of Chinese characters' readable expressions. Exchange, supports the display and conversion of various forms of simplified, traditional and Chinese pinyin.

Benefits of technology

It realizes the readability and flexibility of Chinese characters, can correctly display the pronunciation of polyphonic characters, and realizes flexible display and conversion of Chinese characters in computer systems, solving the display and pronunciation problems of Chinese characters in different scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119089864A_ABST
    Figure CN119089864A_ABST
Patent Text Reader

Abstract

The invention provides a Chinese character expression rule making method and a method and device for making Chinese characters into expressions, and belongs to the field of Chinese information processing. At least three expression rules form an expression rule group, the three expression rules define syllable fields, tone fields and custom identification fields respectively, the syllable fields, the tone fields and the custom identification fields form a Chinese vocabulary expression, and a Chinese character expression is formulated by the expression rule group. The Chinese character of each pronunciation corresponds to a unique Chinese character expression. According to a Chinese expression basic set mapping table and a Chinese syllable mapping table which are compiled according to Chinese character expression rules formulated by the method, data storage is carried out on Chinese applications in the form of Chinese readable expressions, and corresponding data layers are placed between external applications and coding processing of internal Chinese characters for a computer system. The method is used for mapping processing between the readable Chinese expressions and Chinese character codes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of Chinese information processing, and specifically proposes a method for formulating Chinese character expression rules, a method and a device for compiling Chinese characters into expressions. Background Art

[0002] With the development of computer and Internet technology and the increasingly widespread application of Chinese around the world, computer applications and embedded devices that use Chinese as a communication interface are being used more and more, such as web pages, mobile devices, WeChat, e-books, etc., which have become an indispensable part of people's lives. Computer Chinese character processing technology is one of the important underlying technologies of these applications or electronic devices.

[0003] In the early computer systems, computers could only recognize and process English, but not Chinese and other languages. They were completely based on the English environment, that is, computers could only process numbers, letters and some characters. All characters were eventually encoded into computer codes that computers could recognize, called machine codes. All characters were converted into computer code tables, called ASCII codes. All "symbols" outside this range, especially "text symbols" such as Chinese characters, which are huge in number, cannot be recognized by computers. In order to solve the problem of how computers display Chinese characters, Chinese characters must be encoded so that they can be displayed on computers like English. Finally, under the power of the state, the GB2312 code issued by the General Administration of Standards of China in 1980 was the first national standard for Chinese character encoding, and the expanded GB18030 code was later issued. Like ASCII code, GB code is also a machine code. In use, when typing on the keyboard, if the input method is not turned on, or the English input method is turned on, the computer automatically searches for the ASCII code table. If the Chinese character input is turned on, the computer automatically searches for the GB2312 code. After finding the code, the display principle is the same.

[0004] However, the emergence of Chinese character encodings such as GB2312 only solves the problem of displaying Chinese characters in computers, and does not solve the many problems encountered in the daily use of Chinese characters. Because each Chinese character itself is an independent and meaningful unit, its shape and pronunciation are not necessarily related, and there is no spelling relationship between characters. In terms of spelling, Chinese characters are "unreadable". People who have the ability to read Chinese characters actually rely on years of learning one word at a time to memorize them. Therefore, when reading Chinese characters, there are often characters that are difficult to recognize or misrecognized, as well as the problem of "one word with multiple pronunciations" in Chinese characters, which affects the reading of Chinese characters.

[0005] Chinese characters are one of the oldest writing systems in the world, and have been passed down for thousands of years. There are many fonts, so that the same Chinese character has multiple different fonts. At present, the Chinese character fonts in use are mainly simplified characters and traditional characters. In order to assist in the pronunciation of Chinese characters, Pinyin was also developed. By marking Chinese characters, the problem of identifying the pronunciation of Chinese characters is solved. Sometimes it is used in areas where Chinese characters are inconvenient or cannot be used. Therefore, in the daily use of Chinese, in different usage scenarios, it will appear in different forms, namely simplified characters, traditional characters, Pinyin or a combination of Chinese characters and Pinyin. The conversion between these simplified characters, traditional characters or Pinyin brings great inconvenience to users.

[0006] Invention patent "Method, device, electronic device and storage medium for establishing pinyin database" application number: 201810229847.5, public (announcement) number: CN 108416055 A. The invention relates to the field of Internet technology, and the invention solves the situation that polyphones are often encountered during pinyin search. By providing a method for establishing a pinyin database, an initial probability is set for each pronunciation of a polyphone in the pinyin database, the statistical probability of each pronunciation in the historical search click behavior data is statistically calculated, the current probability is determined based on the initial probability and the statistical probability, and the object identifier-pinyin index is updated to establish a pinyin database with dynamically updated index status. According to the search request and the object identifier corresponding to the click, the statistical probability of each pronunciation of the corresponding polyphone is obtained. The invention only plays the role of assisting the pronunciation of polyphones, and recommends the ranking of all pronunciations for polyphones. When it is necessary to annotate a polyphone, the system will recommend the pronunciation of the polyphone ranked first in its database, not the correct pronunciation of the polyphone in the actual context. Therefore, this invention still cannot solve the problem of accurately matching the correct pronunciation for polyphonetic characters.

[0007] The Microsoft Office product family produced by Microsoft Corporation in the United States is the most commonly used office software in daily computer office work. In its Word product, there is a function to annotate Chinese characters in batches. This function can realize batch marking of Chinese pinyin for a certain number of Chinese characters. The basic principle is that in the Word system, each Chinese character has a default Chinese pinyin pronunciation. When the pinyin needs to be annotated for Chinese characters, the system will annotate the pinyin for the Chinese characters according to the system default pronunciation. The pinyin of polyphones is also annotated in the same way. It still needs to be judged and modified manually, and it is impossible to automatically annotate the correct pronunciation for polyphones.

[0008] At present, people widely use e-books or mobile devices when reading. When encountering the pronunciation problem of Chinese characters or the need to convert traditional and simplified fonts, the technical solution of the above invention and the Word product of Microsoft Office are not compatible with the files of e-books or mobile devices, and cannot solve the problem of converting traditional and simplified characters of text or instantly annotating text. Summary of the invention

[0009] The purpose of the present invention is to propose a method for formulating Chinese character expression rules, a method and device for compiling Chinese characters into expressions, Chinese character expressions and Chinese character expression mapping tables compiled by the Chinese character expression rules formulated by the present invention, and a basic set of expressions of all Chinese characters developed on this basis, so that Chinese applications can save data in the form of Chinese readable expressions, and Chinese data can no longer be directly saved or exchanged with computer systems in the form of Chinese character encoding (regardless of what type).

[0010] The second purpose of the present invention is to provide a method for formulating Chinese character expression rules, a method and device for compiling Chinese characters into expressions proposed by the present invention, and a mapping table in a basic concentration of Chinese character expressions constructed by the present invention, which stores the mapping relationship between simplified Chinese characters, traditional Chinese characters and Chinese pinyin, and different pronunciations of polyphones also have different expressions.

[0011] The object of the present invention is achieved in that:

[0012] To achieve the above-mentioned purpose, the present invention proposes a method for formulating rules for compiling Chinese character expressions, wherein an expression rule group is composed of at least three expression rules, and the three expression rules respectively define a syllable field, a tone field and a custom identification field, and the syllable field, the tone field and the custom identification field constitute the Chinese character expression. In the Chinese character expression formulated by the expression rule group, each pronunciation of the Chinese character corresponds to a unique Chinese character expression.

[0013] The present invention also proposes a method for compiling Chinese characters into expressions, wherein the method for compiling Chinese characters into expressions is based on the Chinese character expression rule formulation method as described above, and expressions of different Chinese characters are formulated through the expression rule formulation method; the Chinese characters represented by the expression have a unique pronunciation with tone.

[0014] The present invention also provides a Chinese character expression device, wherein the Chinese character expression device at least comprises:

[0015] The input module processes the Chinese information input by the user and converts it into a Chinese expression;

[0016] A basic set module, wherein the basic set module stores Chinese character expressions compiled by the Chinese character encoding method as described above, and a mapping table between Chinese character expressions and Chinese characters;

[0017] The output module outputs the Chinese information processed by the basic set module to the user, and the output form is at least simplified Chinese characters.

[0018] The present invention also proposes a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method of compiling Chinese characters into expressions as described above is implemented.

[0019] The present invention also proposes a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method of compiling Chinese characters into expressions as described above is implemented.

[0020] The present invention also proposes a computer program product, wherein the computer program product includes a computer program, and when the computer program is executed by a processor, the method of compiling Chinese characters into expressions as described above is implemented.

[0021] The technical effect of the present invention is remarkable. Through the method for formulating Chinese character expression rules proposed by the present invention, the method and device for compiling Chinese characters into expressions, the Chinese character expressions and Chinese character expression mapping tables compiled by the Chinese character expression rules formulated by the present invention, and the basic set of expressions of all Chinese characters developed on this basis, Chinese applications can save data in the form of Chinese character expressions, and no longer save or exchange Chinese data with computer systems in the form of Chinese character encoding (regardless of which), and place a corresponding data layer between the external application and the encoding processing of the internal Chinese characters of the computer system, which is used for the mapping processing between Chinese character expressions and Chinese character encoding. Therefore, the application based on the present invention can provide externally selectable and switchable display types: simplified Chinese characters, traditional Chinese characters, pure pinyin and Chinese pinyin with annotations.

[0022] The present invention proposes a method for formulating Chinese character expression rules, a method and device for compiling Chinese characters into expressions, and a mapping table in a basic set of Chinese character expressions. The mapping relationship between simplified Chinese characters, traditional Chinese characters and Pinyin is stored, and different pronunciations of polyphones also have different corresponding expressions. The correct pronunciation of polyphones can be displayed through the mapping table in the basic set. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The accompanying drawings described herein are only for explanation purposes and are not intended to limit the scope of the present invention in any way. In addition, the shapes and proportional dimensions of the various components in the figures are only schematic, used to help understand the present invention, and are not specifically limited to the shapes and proportional dimensions of the various components of the present invention. Those skilled in the art can select various possible shapes and proportional dimensions to implement the present invention according to the teachings of the present invention.

[0024] Figure 1 It is a schematic diagram of the system structure of the present invention;

[0025] Figure 2 A display diagram for input selection in Embodiment 1 of the present invention;

[0026] Figure 3 This is a display diagram showing simplified Chinese characters according to Embodiment 2 of the present invention;

[0027] Figure 4 A display diagram showing traditional Chinese characters according to Embodiment 2 of the present invention;

[0028] Figure 5 This is a display diagram showing pure pinyin according to Embodiment 2 of the present invention;

[0029] Figure 6 This is a display diagram showing marked pinyin according to Embodiment 2 of the present invention;

[0030] Figure 7 This is a display diagram showing simplified Chinese characters according to Embodiment 3 of the present invention;

[0031] Figure 8 A display diagram showing traditional Chinese characters according to Embodiment 3 of the present invention;

[0032] Fig. 9 This is a display diagram showing pure pinyin according to Embodiment 3 of the present invention;

[0033] Fig.10 This is a display diagram showing marked pinyin according to embodiment 3 of the present invention. DETAILED DESCRIPTION

[0034] The details of the present invention can be more clearly understood with reference to the accompanying drawings and the description of the specific embodiments of the present invention. However, the specific embodiments of the present invention described herein are only used for the purpose of explaining the present invention and cannot be understood as limiting the present invention in any way. Under the guidance of the present invention, technicians can conceive of any possible variations based on the present invention, which should all be considered to belong to the scope of the present invention.

[0035] The present invention proposes a method for formulating rules for compiling Chinese character expressions, which comprises an expression rule group composed of at least three expression rules, wherein the three expression rules respectively define a syllable field, a tone field and a custom identification field, and the syllable field, the tone field and the custom identification field constitute the Chinese character expression. In the Chinese character expression formulated by the expression rule group, each Chinese character with each pronunciation corresponds to a unique Chinese character expression.

[0036] The present invention also proposes a method for compiling Chinese characters into expressions, wherein the method for compiling Chinese characters into expressions is based on the above-mentioned method for formulating rules for compiling Chinese character expressions, and Chinese character expressions of different Chinese characters are compiled through the method for formulating rules for compiling Chinese character expressions; the Chinese characters represented by the Chinese character expressions have a unique pronunciation with tone.

[0037] The present invention also provides a device for compiling Chinese characters into expressions, wherein the device for compiling Chinese characters into expressions at least comprises:

[0038] The input module processes the Chinese information input by the user and converts it into a Chinese expression;

[0039] A basic set module, wherein the basic set module stores Chinese character expressions compiled by the above-mentioned method of compiling Chinese characters into expressions, and a mapping table between Chinese character expressions and simplified Chinese characters;

[0040] The output module outputs the Chinese information processed by the basic set module to the user, and the output form is at least simplified Chinese characters.

[0041] The present invention also proposes a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for compiling Chinese character expressions as described above is implemented.

[0042] The present invention also proposes a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for compiling a Chinese character expression as described above is implemented.

[0043] The present invention also proposes a computer program product, wherein the computer program product includes a computer program, and when the computer program is executed by a processor, the method for compiling a Chinese character expression as described above is implemented.

[0044] like Figure 1As shown, the method for formulating rules for compiling Chinese character expressions proposed by the present invention, the Chinese character expressions and Chinese character expression mapping tables compiled by the Chinese character expression rules formulated by the present invention, and the basic set of expressions of all Chinese characters developed on this basis, enable Chinese applications to save data in the form of readable Chinese expressions, and no longer need to save or exchange Chinese data with the computer system in the form of Chinese character encoding (regardless of which). A corresponding data layer is placed between the external application and the encoding processing of the internal Chinese characters of the computer system, which is used for the mapping processing between the readable Chinese expression and the Chinese character encoding. It can conveniently and quickly realize the display or conversion of simplified Chinese characters, traditional Chinese characters, and Pinyin in various forms.

[0045] In the present invention, a readable Chinese expression Readable Hanyu Expression can also be compiled according to the Chinese character expression rules formulated by the present invention, and the readable Chinese expression Readable Hanyu Expression can be abbreviated as RHE. RHE formulates 1338 Chinese syllable expressions (the format of Chinese pinyin syllables with tones), and further formulates a basic set of RHE, that is, a set of Chinese character expressions, including more than 10600 elements, and each Chinese character expression uses the syllable field + tone field + 3 additional digits in RHE to represent this Chinese unit.

[0046] In an optional embodiment of the present invention, the Chinese characters in the basic set are monosyllabic words (SSW) in Chinese. The meaning of the monosyllabic word is that one Chinese character can fully express the meaning of a word. For example, the monosyllabic word shuo1001 ("say") has a definite meaning in itself.

[0047] In an optional embodiment of the present invention, the syllable field includes at least a Pinyin syllable field of a Chinese character, and the Pinyin syllable field is used to express a pronunciation that can be spelled by letters in the ASCII basic set.

[0048] In an optional example of this implementation, the syllable field also includes an auxiliary field, and the auxiliary field is used to express the pronunciation of letters that are not recorded in the ASCII basic set.

[0049] In another optional implementation of the present invention, the tone field uses different characters to distinguish different tones.

[0050] In an optional implementation manner of the present invention, the tone field is a number, and the numbers 0-4 represent the light tone, the yinping tone, the yangping tone, the shangsheng tone and the qusheng tone respectively.

[0051] In yet another optional implementation manner of the present invention, the syllable field and the tone field form a toned syllable, and the identification field represents different Chinese characters on the same toned syllable.

[0052] In the present invention, the toned syllable can be formulated as a Chinese character expression syllable set, which is a two-column data table as shown in Table 1. The first column is the toned syllable part of RHE, and the second column is the actual display shape of the toned syllable in the Chinese Pinyin system.

[0053] Table 1

[0054]

[0055]

[0056] The general syllable items are the same as the syllable symbols in Chinese Pinyin, but some are difficult to express in the ASCII basic set. The present invention adds auxiliary fields, such as multiple letters, as their definitions in RHE, which can be specifically shown in Table 2:

[0057] Table 2

[0058]

[0059]

[0060] In the present invention, there are five tones in the toned syllable, namely: light tone, yinping tone, yangping tone, rising tone and falling tone. In an optional example, five different numbers 0, 1, 2, 3, 4 are used to represent light tone, yinping tone, yangping tone, rising tone and falling tone. It should be noted that these five numbers are not fixed and can be replaced by other numbers as long as five different numbers are satisfied. Similarly, the numbers can also be replaced by letters, Roman numerals, symbols, etc., or these can be combined, as long as the five tones are distinguished by five different characters.

[0061] In an optional example of this implementation, the identification field includes three additional digits as an ordinal number, indicating different Chinese characters corresponding to the same toned syllable.

[0062] In this example, the format of Chinese monosyllabic words (SSW) is a Chinese toned syllable + a 3-digit (001 to 999) identifier. The toned syllable includes a syllable and a tone. When homophones are used, the syllable and the tone are the same and need to be distinguished by an identifier. The identifier is a three-digit additional number from 001 to 999, which is used to indicate several monosyllabic words (i.e. homophones) on the same toned syllable. The sorting order of the identifiers is based on the strokes of simplified Chinese characters, with fewer characters going first. It can also be sorted according to other rules, but the identifiers of several monosyllabic words on the same toned syllable must be different.

[0063] In an alternative embodiment of the present invention, a basic set is constructed, which at least has Chinese character expressions and a mapping table between simplified Chinese characters and Chinese character expressions.

[0064] In the present invention, the objective of the method for formulating Chinese character expression rules, the method and device for encoding Chinese characters into expressions is to make Chinese characters have better readability, flexibility and portability in a computer system. The basic set constructed from the SSW set is its core part. Currently, all Chinese characters in dictionaries published by authoritative Chinese publishing institutions have been included in the basic set constructed from the SSW set. These dictionaries include: the 5th, 6th and 7th editions of the Modern Chinese Dictionary, the Modern Chinese Dictionary published by the Commercial Press in 2014, and the 10th edition of the Xinhua Dictionary.

[0065] In an alternative example, the basic set constructed from the SSW set is a three-column data table. The first column is a Chinese SSW unit in RHE format, the second column is the corresponding simplified Chinese character of the SSW, and the third column is the corresponding traditional Chinese character of the SSW. The following Table 3 shows the beginning part of the data:

[0066] Table 3

[0067]

[0068]

[0069] In an alternative example of this embodiment, the basic set also includes a mapping table between traditional Chinese characters and Chinese character expressions.

[0070] In an alternative example, the SSW defined by the basic set is more than 10,600, and the following rules are followed during formulation:

[0071] Each monosyllabic word is a basic unit in Chinese and has an exact meaning. The externally displayed glyph may be the same or different in simplified and traditional Chinese characters. For example:

[0072]

[0073] In this way, although the RHE expression is unique (for example, "杨" and "楊" are originally the same Chinese unit and correspond to the same RHE expression), it can correspond to two sets of Chinese character systems, simplified and traditional.

[0074] In addition, in the case where a simplified Chinese character corresponds to more than one traditional Chinese character in a dictionary, RHE will also give the corresponding expression. For example:

[0075]

[0076]

[0077] ... etc.

[0078] In another alternative example of this embodiment, a syllable mapping table is constructed, which includes the mapping between Chinese pinyin and the pronunciation part of Chinese character expressions.

[0079] In this way, polyphonic characters will be multiple different SSWs in RHE. For example:

[0080]

[0081] Now, in combination with the embodiments, the specific implementation processes of the method for formulating Chinese character expression rules, the method for encoding Chinese characters into expressions, and the device proposed by the present invention will be described in detail.

[0082] Embodiment 1

[0083] Selection of polyphonic characters in Lu Xun's "Mr. Fujino"

[0084] In this embodiment, a computer program product for inputting RHE codes is proposed, which can read the text data of simplified Chinese characters and convert them into the RHE format. When it is found that there may be polyphonic characters, the user will be required to make a choice. For example, Figure 2 As shown, when inputting "Mr. Fujino", the polyphonic character "wu" appears, and at this time, the inputter needs to select its specific pronunciation.

[0085] Embodiment 2

[0086] Storage and display of Lu Xun's "Mr. Fujino"

[0087] In this embodiment, a Chinese processing system based on RHE coding is proposed. In this Chinese processing system, still taking the input of Lu Xun's "Mr. Fujino" as an example, the data storage format of the input RHE is as follows:

[0088] teng2007 ye3003 xian1002 sheng1002

[0089] lu3006 xun4004

[0090] dong1001 jing1003 ye3001 wu2001 fei1003 shi4019 zhe4001 yang4002. shang4001 ye3003 de0002 ying1021 hua1002 lan4001 man4011 de0002 shi2005jie2002,wang4005 qu4001 que4006 ye3001 xiang4008 fei1007 hong2002 de0002qing1002 yun2002,dan4003 hua1002 xia4001 ye3001 que1002 bu4001 liao3001cheng2001 qun2003 jie2013 dui4001 de0002“qing1007 guo2001 liu2003 xue2004sheng1002”de0002 su4005 cheng2001 ban1003,tou2001 ding3001 shang4001 pan2004zhe0002 dai4001 bian4016 zi3001,ding3001 de0004 xue2004 sheng1002 zhi4011mao4012 de0002 ding3001 shang4001 gao1002 gao1002 song3003 qi3010,xing2005cheng2001 yi2001 zuo4010 fu4020 shi4001 shan1001. ye3001 you3002 jie3003san4001 bian4016 zi3001, pan2004 de0004 ping2001 de0002, chu2002 xia4001mao4012 lai2001, you2006 guang1001 ke3001 jian4025, wan3001 ru2001 xiao3001gu1007 niang2001 de0002 fa4001 ji4043 yi4001 ban1004, hai2001 yao4003jiang1003 bo2016 zi3001 niu3001 ji3001 niu3001. from 2007 to 2008.

[0091] 3001 jiang1006 fang2005 li3003 you3002 ji3001 ben3001 shu1002 mai3001,you3002shi2005 hai2001 zhi2004 de0004 qu4001 yi2001 zhuan4003;tang3002 zai4002shang4001 wu3002,li3003 mian4001 de0002 ji3001 jian1006 yang2014 fang2005li3003 dao3004 ye3001 hai2001 ke3001 yi3003 zuo4002 zuo4002 de0002. dan4003dao4001 bang4005 wan3005, you3002 yi4001 jian1006 de0002 di4001 ban3003bian4010 chang2007 bu4001 mian3002 yao4003 dong1004 dong1004dong1004 de0001xiang3002 de0004 zhen4010 tian1001, jian1011 yi3003 man3001 fang2005 yan1005chen2002 dou3001 luan4001; wen4001 wen4001 jing1017 tong1002 shi2005 shi4010de0002 ren2001, da2011 dao4007, "na4001 shi4019 zai4002 xue2004 tiao4003wu3019. ”

[0092] dao4001 bie2002 de0002 di4001 fang1001 qu4001 kan4001 kan4001, ru2001he2004 ne0002?

[0093] …

[0094] Based on the above RHE data storage format, the output display in this Chinese processing system can be in four forms: simplified Chinese characters, traditional Chinese characters, pure pinyin and marked pinyin. For details, please refer to Figures 3 to 6 :

[0095] Example 3

[0096] Storage and display of the Book of Songs "Zhou Nan·Juan Er" In this embodiment, the storage format of RHE is

[0097] When the tone field is other characters, specifically, the five tones are: 1 for yinping, II for yangping, γ for shangsheng, d for qusheng, and θ for qingsheng. Then the storage format of RHE is:

[0098] juan γ001 er γ002

[0099] caiγ001 caiγ001 juanγ001 erγ002, bud001 yingII005 qingγ002kuang1008. jie1011 woγ001 huaiII001 renII001, zhid051 biγ009 zhou1005xingII003.

[0100] zhid019 biγ009 cui1002 weiII020, woγ001 maγ001 hui1005 tuiII001. woγ001 gu1007 zhuoII008 biγ009 jin1005 leiII012, weiII018 yiγ003 bud001 yongγ001 huaiII001.

[0101] zhid019 biγ009 gao1002 gang1001, woγ001 maγ001 xuanII001huangII002. woγ001 gu1007 zhuoII008 biγ009 sid007 gong1017, weiII018 yiγ003bud001 yongγ001 shang1001.

[0102] zhid019 biγ009ju1012 yiγ009, woγ001 maγ001 tuII01d yiγ009. woγ001puII001 fu1013 yiγ009, yunII001 heII004 xu1004 yiγ009.

[0103] The storage format of the above RHE can be seen in the output display of the Chinese processing system. Figures 7 to 10 .

[0104] The detailed explanation of the above-mentioned embodiments is only intended to explain the present invention so as to facilitate a better understanding of the present invention. However, these descriptions cannot be interpreted as limitations on the present invention for any reason. In particular, the various features described in different embodiments may also be arbitrarily combined with each other to form other embodiments. Unless there is a clear description to the contrary, these features should be understood to be applicable to any embodiment and are not limited to the described embodiments.

Claims

1. A method for formulating rules for Chinese character expressions, characterized in that: An expression rule group is composed of at least three expression rules, and the three expression rules respectively define a syllable field, a tone field and a custom identification field. The syllable field, the tone field and the custom identification field constitute the Chinese character expression. The Chinese character expression formulated by the expression rule group has a unique Chinese character expression corresponding to each pronunciation.

2. The method for formulating Chinese character expression rules as described in claim 1, characterized in that: The syllable field at least includes a Pinyin syllable field of a Chinese character, and the Pinyin syllable field is used to express a pronunciation that can be spelled by letters in the ASCII basic set.

3. The method for formulating Chinese character expression rules as claimed in claim 2, characterized in that: The syllable field also includes an auxiliary field, which is used to express the pronunciation of letters that are not recorded in the ASCII basic set.

4. The method for formulating Chinese character expression rules as claimed in claim 1, characterized in that: The tone field uses different characters to distinguish different tones.

5. The method for formulating Chinese character expression rules as claimed in claim 4, characterized in that: The tone field is a number, and the numbers 0-4 represent light tone, yinping tone, yangping tone, shangsheng tone and qusheng tone respectively.

6. The method for formulating Chinese character expression rules as claimed in claim 1, characterized in that: The syllable field and the tone field constitute a toned syllable, and the identification field represents different Chinese characters on the same toned syllable.

7. The method for formulating Chinese character expression rules as claimed in claim 6, characterized in that: The identification field includes three additional digits, and the three additional digits are used as ordinal numbers to represent different Chinese characters corresponding to the same toned syllable.

8. A method for compiling Chinese characters into expressions, characterized in that: The method of compiling Chinese characters into expressions is based on the Chinese character expression rule formulation method as described in claim 1, and Chinese character expressions of different Chinese characters are compiled through the expression rule formulation method; the Chinese characters represented by the Chinese character expressions have unique pronunciations with tones.

9. The method for compiling Chinese characters into expressions as claimed in claim 8, characterized in that: A basic set is constructed, wherein the basic set has a mapping table between Chinese character expressions, simplified Chinese characters and the Chinese character expressions.

10. The method for compiling Chinese characters into expressions as claimed in claim 9, characterized in that: The basic set also includes a mapping table between the traditional Chinese characters and the Chinese character expressions.

11. The method for compiling Chinese characters into expressions as claimed in claim 9, characterized in that: A syllable mapping table is constructed to include mappings between Chinese pinyin and the pronunciation parts of the Chinese character expressions.

12. The method for compiling Chinese characters into expressions as claimed in claim 9, characterized in that: The Chinese characters include monosyllabic words in Chinese.

13. A device for compiling Chinese characters into expressions, characterized in that: The device for compiling Chinese characters into expressions at least comprises: The input module processes the Chinese character information input by the user and converts it into a Chinese expression; A basic set module, wherein the basic set module stores Chinese character expressions compiled according to the method for compiling Chinese characters into expressions according to claim 8, and a mapping table between Chinese character expressions and simplified Chinese characters; The output module outputs the Chinese information processed by the basic set module to the user, and the output form is at least simplified Chinese characters.

14. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method of compiling Chinese characters into expressions as described in any one of claims 8 to 10 is implemented.

15. A computer-readable storage medium, characterized in that: The computer storable medium stores a computer program, and when the computer program is executed by a processor, the method of compiling Chinese characters into expressions as described in any one of claims 8 to 10 is implemented.

16. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method for compiling Chinese characters into expressions as claimed in any one of claims 8 to 10 is implemented.

Citation Information

Cited By

  • Chinese multi-syllable vocabulary expression rule making method and method and device for making multi-syllable vocabulary into expression

    CN120832126A