Chinese character display method and system based on data
By disassembling and rendering the components according to the character creation method of Chinese characters and using OpenType technology to display Chinese character proofs, the problem that the existing technology cannot accurately display Chinese character proofs is solved, and the efficient effect of Chinese character teaching is achieved.
Patent Information
- Application Number
- CN202411635493.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-03-18
AI Technical Summary
The prior art is difficult to accurately and comprehensively display the reasons for Chinese characters in computers, which leads to the inability to fully meet the needs of teaching activities.
By determining the character creation category based on the character creation method of Chinese characters, disassembling the Chinese characters into all their components, and rendering these components according to preset colors using OpenType technology, thereby intuitively displaying the reasons for Chinese characters.
It realizes the intuitive, vivid, convenient and systematic display of Chinese character theory, improves the efficiency and effect of Chinese character teaching, and meets the needs of Chinese character promotion and teaching activities.
Smart Images

Figure CN119646245A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of font display technology, and in particular to a Chinese character display method and system based on rationale. Background Art
[0002] The international Chinese education community believes that Chinese characters are an unavoidable subject for high-level international Chinese education. Teaching Chinese characters to foreigners should be different from teaching phonetic characters. It should focus on the characteristics of ideographic characters and grasp the rationale of Chinese characters. International Chinese teachers must have a high level of Chinese character knowledge and literacy, and adopt efficient teaching methods such as component teaching method, character family teaching method, and character-based word method with Chinese character rationale as the core element.
[0003] In order to explain the rationale of Chinese characters, international Chinese teachers usually use two methods in the past. In traditional classrooms, teachers mainly use methods such as writing Chinese characters on the blackboard, drawing pictures, and showing real objects or pictures of real objects to describe the rationale of Chinese characters. This method is very limited and difficult to explain complex things.
[0004] After the popularization of modern educational technology, multimedia methods are generally used to display the rationale of Chinese characters, such as computer images, animations, videos, etc. Compared with traditional methods, multimedia Chinese character rationale is more vivid. However, it is still difficult for teachers to make or collect these multimedia. There are problems such as complex sources, diverse forms, ambiguous rationale, and inconvenient use. They cannot fully meet the needs of teaching the rationale of Chinese characters. Summary of the invention
[0005] The technical problem to be solved by the present invention is how to accurately and comprehensively display the rationale of Chinese characters in a computer. A Chinese character display method and system based on rationale are provided, which can intuitively, vividly, conveniently and systematically display the rationale of Chinese characters using computer OpenType technology, which is conducive to the promotion of Chinese characters and the implementation of teaching activities.
[0006] In order to solve the above technical problems, an embodiment of the present invention provides a Chinese character display method based on rationale, comprising:
[0007] According to the Chinese character creation method, the character creation category of the Chinese character is determined; the character creation category includes pictographic characters, indicative characters, ideographic characters and phono-semantic characters, ideographic characters, phono-semantic characters and characters without rationale;
[0008] According to the character creation category of the Chinese character, the Chinese character is disassembled to obtain all components of the Chinese character;
[0009] All the components of the Chinese character are rendered by OpenType according to the preset color, and the rendered Chinese character is displayed.
[0010] As an improvement of the above solution, the Chinese character is disassembled according to the character creation category of the Chinese character to obtain all the components of the Chinese character, including:
[0011] When the Chinese character is a pictographic character, the whole Chinese character is regarded as a pictographic component, and all components of the Chinese character are obtained according to the pictographic component;
[0012] When the Chinese character is a pictographic character, the Chinese character is decomposed into at least one component, and all components of the Chinese character are obtained according to the at least one component; wherein the components at least include a stroke indicating component;
[0013] When the Chinese character is a pictophonetic character, the Chinese character is decomposed into at least two components, and all components of the Chinese character are obtained according to the at least two components; wherein at least one component obtained by decomposition is a pictophonetic character and a phono-ideophonetic character, and the remaining components are pictophonetic characters;
[0014] When the Chinese character is a pictophonetic character or a phono-semantic character, the Chinese character is decomposed into at least two components, and all components of the Chinese character are obtained according to the at least two components; wherein the at least two components include a ideophonetic character, a phonetic character, and a sign;
[0015] When the character creation category of the Chinese character is an irrational character, the whole Chinese character is regarded as a symbol component, and all components of the Chinese character are obtained according to the symbol component.
[0016] As an improvement of the above solution, when the Chinese character is a pictographic character, the Chinese character is decomposed into at least one component, and all components of the Chinese character are obtained according to the at least one component, including:
[0017] When the Chinese character is a pictographic character, determining whether the pictographic character contains a pictographic component;
[0018] If a pictographic character is included, extract the pictographic component of the indicative character, and determine whether the remaining part is a stroke indicating component;
[0019] If it is a stroke indicating component, the Chinese character is decomposed into a combination of a pictographic component and a stroke indicating component to obtain all components of the Chinese character;
[0020] If it does not contain a pictographic character or is not a stroke indicating component, the entire Chinese character is regarded as a stroke indicating component.
[0021] As an improvement of the above scheme, when the Chinese character is a pictophonetic character or a phono-semantic character, the Chinese character is decomposed into at least two components, and all components of the Chinese character are obtained according to the at least two components, including:
[0022] When the Chinese character is a ideographic character, the Chinese character is decomposed into at least two ideographic components;
[0023] When the Chinese character is a phono-semantic character, the Chinese character is decomposed into at least two components, at least one of which is a semantic component.
[0024] As an improvement of the above solution, a corresponding relationship between each component and the preset color is set;
[0025] According to the structure of the Chinese character, the component is divided into n parts; wherein n is the number of the colors corresponding to the component, and n≥1;
[0026] Each part of all the components of the Chinese character is rendered by OpenType according to the corresponding relationship.
[0027] As an improvement of the above solution, the setting of the corresponding relationship between each component and the preset color includes:
[0028] Setting the pictographic component to correspond to a preset first color;
[0029] Setting the marking component to correspond to a preset second color;
[0030] Setting the stroke indication component to correspond to a preset third color;
[0031] Setting the symbol component to correspond to a preset fourth color;
[0032] For the phonetic symbol component or the semantic symbol and phonetic symbol component, obtaining the phonetic accuracy according to the pronunciation of the Chinese character;
[0033] According to the phonetic accuracy, setting the phonetic note component to correspond to a preset fifth color or a sixth color;
[0034] According to the phonetic accuracy, the semantic and phonetic symbol component is set to correspond to a preset combination of the fourth color and the fifth color or a combination of the fourth color and the sixth color.
[0035] As an improvement of the above scheme, the phonetic symbol component or the semantic symbol and phonetic symbol component is used to obtain the phonetic accuracy according to the pronunciation of the Chinese character, including:
[0036] Determine whether the initial consonant and final vowel of the pronunciation of the phonetic symbol component or the semantic symbol and phonetic symbol component are consistent with those of the Chinese character;
[0037] If at least one of the initial consonant and the final is inconsistent, the phonetic accuracy of the phonetic symbol component or the semantic symbol and phonetic symbol component is considered to be inaccurate phonetic representation;
[0038] If the initial consonant and the final vowel are consistent, determine whether the tone of the phonetic symbol component or the semantic symbol and phonetic symbol component is consistent with the pronunciation of the Chinese character;
[0039] If the tones are consistent, the phonetic accuracy of the phonetic symbol component or the semantic symbol and phonetic symbol component is considered to be first-level accurate phonetic representation;
[0040] If the tones are inconsistent, the phonetic accuracy of the phonetic symbol component or the semantic and phonetic symbol component is considered to be level 2 accurate phonetic representation, and the tone of the Chinese character is marked on either side of the phonetic symbol when rendering the phonetic symbol component or the semantic and phonetic symbol component.
[0041] As an improvement of the above solution, the setting of the phonetic symbol component to correspond to the preset fifth color or sixth color according to the phonetic accuracy includes:
[0042] When the phonetic accuracy of the phonetic note component is level one phonetic accuracy or level two phonetic accuracy, setting the phonetic note component to correspond to a preset fifth color;
[0043] When the phonetic representation accuracy of the phonetic note component is inaccurate phonetic representation, setting the phonetic note component to correspond to a preset sixth color;
[0044] According to the phonetic accuracy, setting the semantic and phonetic symbol component to correspond to a preset fourth color and fifth color combination or a preset fourth color and sixth color combination includes:
[0045] When the phonetic accuracy of the ideophonetic notation component is first-level phonetic accuracy or second-level phonetic accuracy, setting the ideophonetic notation component to correspond to a preset fourth color and a fifth color combination;
[0046] When the phonetic accuracy of the ideophonetic notation component is inaccurate phonetic representation, the ideophonetic notation component is set to correspond to a preset combination of a fourth color and a sixth color.
[0047] As an improvement of the above solution, the Chinese character display method based on rationale also includes:
[0048] Obtaining the ancient Chinese characters corresponding to the Chinese characters or the components in the Chinese characters, and setting the glyph style for the Chinese characters by using the OpenType technology; when switching to the glyph style, the ancient Chinese characters corresponding to the Chinese characters or the components in the Chinese characters will be displayed;
[0049] The graphic corresponding to the Chinese character is obtained, and the graphic style is set for the Chinese character using the OpenType technology; when the graphic style is switched to the graphic style, the graphic corresponding to the Chinese character will be displayed.
[0050] The embodiment of the present invention further provides a Chinese character display system based on rationale, comprising:
[0051] A character creation category classification module is used to determine the character creation category of the Chinese character according to the character creation method of the Chinese character; the character creation category includes pictographic characters, indicative characters, ideographic characters and phono-semantic characters, ideographic characters, phono-semantic characters and non-rational characters;
[0052] A component disassembly module, used to disassemble the Chinese character according to the character creation category of the Chinese character to obtain all the components of the Chinese character;
[0053] The Chinese character rendering and display module is used to render all the components of the Chinese character through OpenType according to preset colors and display the rendered Chinese character.
[0054] Compared with the prior art, the present invention discloses a method and system for displaying Chinese characters based on rationale, which determines the category of the Chinese character creation according to the Chinese character creation method; the category of the Chinese character creation includes pictographic characters, indicative characters, ideographic characters and phono-semantic characters, ideographic characters, phono-semantic characters and characters without rationale; according to the category of the Chinese character creation, the Chinese character is disassembled to obtain all the components of the Chinese character; according to the preset color, all the components of the Chinese character are rendered by OpenType, and the rendered Chinese character is displayed. By adopting the embodiment of the present invention, different ways of creating characters or different components are represented by different colors, and each color corresponds to a different function, and the rationale of Chinese characters can be displayed intuitively, vividly, conveniently and systematically using computer OpenType technology, which is conducive to the promotion of Chinese characters and the implementation of teaching activities. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 1 is a schematic diagram of a flow chart of steps of a method for displaying Chinese characters based on evidence provided by an embodiment of the present invention;
[0056] Figure 2 is a schematic diagram of a font display result provided by an embodiment of the present invention;
[0057] Figure 3 is a schematic diagram of a font style provided by an embodiment of the present invention;
[0058] Figure 4 is a schematic diagram of a graphic style provided by an embodiment of the present invention;
[0059] Figure 5 It is a structural schematic diagram of a rationale-based Chinese character display system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0060] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0061] In the description of the specification and claims, it should be understood that the terms first, second, etc. in the specification and claims are only used for the purpose of distinguishing the description of the same technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features, nor necessarily describing the order or time sequence. The terms can be interchanged under appropriate circumstances. Thus, the features defined with "first", "second" may explicitly or implicitly include at least one of the features.
[0062] Counting from Oracle Bone Script, Chinese characters have a long history of more than 3,000 years and are the only ideographic characters continuously used to this day in the world. Generally speaking, there are four methods of creating Chinese characters: pictographs, indicatives, associative compounds, and phonetic compounds. From these, the semantic radicals and phonetic radicals of Chinese characters can be summarized. Chinese semantic radicals express the ancient Chinese people's understanding and classification of nature and society. For example, for the Chinese character with the semantic radical "water (氵)", such as "rivers flow and are moist", it represents the name, action, or attribute of water; Chinese phonetic radicals express the historical pronunciations of Chinese characters at different stages. For example, the Chinese characters "堵都煮诸著褚" with the same phonetic radical "者" have different pronunciations. The glyphs of Chinese characters contain the principles and bases for expressing the meanings and pronunciations, which are called the rationale of Chinese characters.
[0063] The rationale of Chinese characters is a precious intangible cultural heritage of the Chinese nation, systematically preserving the profound philosophical cognitions, rich behavior patterns, and diverse cultural psychologies of the Chinese people. For example, in the cognition of the ancient Chinese, the "heart" was the organ for thinking (actually the brain). Therefore, Chinese characters with the semantic radical "heart" or its variant "忄" originally meant to express thinking and emotions. Such as "思感急态情性懂怕". Another example is that the common meaning of the character "快" in modern Chinese is "fast speed", but this character is from "忄" and originally meant "inner joy". Understanding this can quickly understand the meanings of words such as "快乐 (happy), 愉快 (pleased), 痛快 (delighted)".
[0064] By understanding the rationale of Chinese characters, learners can grasp the essentials, draw inferences from one instance, conveniently remember the glyph writing and meanings of Chinese characters, accurately master the pronunciations of Chinese characters, quickly learn a series of Chinese characters with the same components, and systematically understand the ancient and modern changes and extensions of the meanings of words. Learning Chinese characters through the rationale of Chinese characters is an important and effective method for international Chinese education and mother tongue literacy enlightenment education.
[0065] After the popularization of modern educational technology, teachers generally use multimedia to display the rationale of Chinese characters, such as computer images, animations, videos, etc. However, it is still relatively difficult to produce or collect these multimedia, and there are problems such as complex sources, diverse forms, ambiguous rationale, and inconvenient use, which cannot fully meet the needs of Chinese character rationale teaching.
[0066] Based on the above considerations, an embodiment of the present invention provides a method for displaying Chinese characters based on rationale. Please refer to Figure 1 In this embodiment, the method for displaying Chinese characters based on rationale is specifically executed through steps S1 to S3:
[0067] S1. Determine the character formation category of the Chinese character according to the character formation method of the Chinese character; the character formation category includes pictographs, ideographs, compound ideographs and phonetic compounds, compound ideographs, phonetic compounds, and characters without rationale.
[0068] It should be noted that generally, the character formation methods of Chinese characters are pictograph, ideograph, compound ideograph, and phonetic compound. However, the applicant of the present invention found that the simplification of some Chinese characters has led to significant changes in the glyphs, making it difficult to realize the rationale therein. In the embodiment of the present invention, the whole characters that have lost their rationale are classified as characters without rationale. Exemplarily, for example, "備" is from "人", with the sound, and the simplified glyph is "备", which has lost its rationale and should be treated as a character without rationale. In addition, for characters such as "功" and "政", which have both phonetic and semantic functions, they should be treated as compound ideographs and phonetic compounds.
[0069] It should also be noted that for characters without rationale, it may be that only the simplified glyphs have lost their rationale during the evolution of Chinese characters, but the rationale can still be glimpsed from their traditional or ancient glyphs (such as oracle bone inscriptions). Preferably, when rendering characters without rationale, OpenType technology is used to add different font styles, and the font styles include traditional style and ancient style.
[0070] S2. Decompose the Chinese character according to the character formation category of the Chinese character to obtain all components of the Chinese character.
[0071] It should be noted that during the evolution of Chinese characters, the components of some Chinese characters have become unclear due to simplification. For example, "動" is from "力" and "重" as the sound, and is simplified to "动". The component "云" neither represents the sound nor the meaning, and its rationale is unclear and is treated as a mark; another example is the character "鷄", which is from "鸟" and "奚" is the phonetic symbol and is easy to understand; after being simplified to "鸡", the component "又" can neither represent the sound nor the meaning, and in the embodiment of the present invention, the component "又" is recognized as a mark.
[0072] S3. Render all the components of the Chinese character according to the preset color through OpenType, and display the Chinese character after the rendering is completed.
[0073] In the embodiments of the present invention, the OpenType font technology is used to render fonts. The current latest standard of OpenType is 1.9, which supports rendering different parts of the same glyph in multiple colors. This technology can be used to represent components with different functions in Chinese character glyphs. In addition, OpenType also supports accommodating up to 20 different style variant glyphs in the same glyph position and supports ligatures. This feature can be used to display different glyphs of the same Chinese character to better illustrate the motivation of Chinese characters.
[0074] Exemplarily, reference can be made to Figure 2 , Figure 2 which is a schematic diagram for displaying the motivation of Chinese characters by using the embodiments of the present invention. Among them, the character "人" is a pictograph. The character "本" is an ideograph, consisting of a pictographic part and a stroke indicating part. Among them, the pictographic part is the same as the pictograph and is marked in gray, and the stroke indicating part is marked in purple. The character "好" is a compound ideograph, consisting of two semantic radical components. The character "功" is a compound ideograph and a phono-semantic compound character. The left component can both represent sound and meaning, and the sound representation is accurate. The right component is a semantic radical component. The character "常" is a phono-semantic compound character. The upper component is a phonetic radical, but the sound representation is not accurate. The lower component is a semantic radical. The character "歌" is a compound ideograph. The left component is a phonetic radical with accurate sound representation, and the right component is a semantic radical. The character "放" is a phono-semantic compound character. The left component is a phonetic radical with accurate sound representation, but the tone of this phonetic radical is different from that of the whole character. The right component is a semantic radical. The character "鷄" is a phono-semantic compound character. "奚" is the phonetic radical, but the component "又" in the simplified character "鸡" obtained therefrom can neither represent sound nor meaning and is a mark. The right component is a semantic radical. The character "爱" is a character without motivation.
[0075] In the above solution, different colors are used to represent different ways of creating characters or different components. Each color corresponds to a different function, and it can intuitively, vividly, conveniently and systematically display the motivation of Chinese characters by using the computer OpenType technology, which is beneficial to the popularization of Chinese characters and the implementation of teaching activities.
[0076] Exemplarily, in the embodiments of the present invention, 3,000 Chinese characters in the "International Chinese Language Education Chinese Proficiency Level Standard" (GF0025-2021) issued by the National Language and Character Work Committee in 2021 are used as the objects of motivation analysis. This standard includes 300 Chinese characters at each of the six levels from level 1 to level 6 and 1,200 Chinese characters at levels 7-9. The network, device or algorithm used for identifying the methods of creating characters and components is trained through ancient and modern reference books such as "Shuowen Jiezi" and "Hanyu Dazidian" and the ancient Chinese character glyphs of unearthed cultural relics and documents to select a reasonable explanation for the motivation of Chinese characters by optimizing.
[0077] As a preferred implementation manner, in step S2, according to the character creation category of the Chinese character, the Chinese character is disassembled to obtain all components of the Chinese character, which is specifically executed through steps S21-S25:
[0078] S21. When the character formation category of the Chinese character is pictograph, regard the whole Chinese character as a pictographic component, and obtain all components of the Chinese character according to the pictographic component.
[0079] Pictographs depict the external shape of things as a whole, where the components cannot be cut or divided. When conducting etymological teaching, it can be explained in combination with its ancient form or the things it depicts.
[0080] S22. When the character formation category of the Chinese character is ideogram, disassemble the Chinese character into at least one component, and obtain all components of the Chinese character according to the at least one component; where the component at least includes a stroke indicating component.
[0081] Ideograms are pure symbols or are based on pictographic characters with simple stroke indications. Therefore, ideograms can be divided into single-component ideograms and ideograms with added symbols. For example, "two, three, up" etc. are single-component ideograms, while "root, dawn, tip" etc. are ideograms with added symbols. For single-component ideograms, the whole character can be rendered in a single color, while for ideograms with added symbols, it is necessary to distinguish the pictographic part and the stroke indication part by different colors.
[0082] S23. When the character formation category of the Chinese character is a compound ideogram and phonogram, disassemble the Chinese character into at least two components, and obtain all components of the Chinese character according to the at least two components; where at least one of the disassembled components is an ideogram and phonogram, and the remaining components are ideograms.
[0083] S24. When the character formation category of the Chinese character is a compound ideogram or phonogram, disassemble the Chinese character into at least two components, and obtain all components of the Chinese character according to the at least two components; where the at least two components include ideograms, phonograms and marks.
[0084] S25. When the character formation category of the Chinese character is a character without etymology, regard the whole Chinese character as a mark component, and obtain all components of the Chinese character according to the mark component.
[0085] It should be noted that an ideogram is a Chinese character component that represents the meaning category. Some ideograms can form characters alone, such as "wood" in "willow", and some ideograms cannot form characters alone, such as "宀" in "room treasure"; a phonogram is a Chinese character component that indicates the pronunciation of the whole character. Due to the historical changes in Chinese pronunciation, some phonograms can no longer accurately indicate the modern standard Chinese pronunciation of Chinese characters; a mark is a Chinese character component without obvious semantic or phonetic functions, such as "又" in "chicken". The glyphs with unclear etymology after simplification are also treated as marks.
[0086] Further, preferably, in step S22, when the character formation category of the Chinese character is an indicative character, the Chinese character is disassembled into at least one component, and all components of the Chinese character are obtained according to the at least one component, including:
[0087] When the character formation category of the Chinese character is an indicative character, it is judged whether the indicative character contains pictographic components;
[0088] If it contains a pictographic character, the pictographic components in the indicative character are extracted, and it is judged whether the remaining part is a stroke indication component;
[0089] If it is a stroke indication component, the Chinese character is disassembled into a combination of a pictographic component and a stroke indication component to obtain all components of the Chinese character;
[0090] If it does not contain a pictographic character or is not a stroke indication component, the whole character of the Chinese character is regarded as a stroke indication component.
[0091] Exemplarily, please refer to Figure 2 , for the indicative character "ben" (本), which contains the pictographic character "mu" (木) and a stroke indication, so the pictographic character part is rendered in a preset first color, and the stroke indication part is rendered in a preset third color.
[0092] It should be noted that for some indicative characters, from different perspectives, different pictographic characters contained therein may be found, but the remaining part is not necessarily a stroke indication, that is, this division method does not conform to the character formation method and structure of Chinese characters. Therefore, in the embodiments of the present invention, after identifying the pictographic characters in the indicative characters, it is further judged whether the remaining part is a stroke indication. In some embodiments, it is automatically judged by combining reference materials and ancient Chinese fonts.
[0093] Preferably, in step S24, when the character formation category of the Chinese character is a会意字 (associative compound character) or a形声字 (phonetic compound character), the Chinese character is disassembled into at least two components, and all components of the Chinese character are obtained according to the at least two components, including:
[0094] When the character formation category of the Chinese character is an associative compound character, the Chinese character is disassembled into at least two semantic component characters;
[0095] When the character formation category of the Chinese character is a phonetic compound character, the Chinese character is disassembled into at least two components; at least one of which is a semantic component character.
[0096] It should be noted that both phono-semantic characters and ideo-characters are composed of phonetic components, semantic components and / or marks. Generally speaking, a ideo-character is a character composed of two or more components that represent meaning, and a ideo-character is a character composed of a semantic component and a phonetic component. The semantic component represents meaning, and the phonetic component represents sound. However, in some cases, during the evolution of Chinese characters, the original phonetic component has lost its phonetic function, and the part has also become a mark. Therefore, when the embodiment of the present invention is disassembling a phono-semantic character, at least two components obtained by disassembling can be a phonetic component or a mark except for the semantic component.
[0097] As a preferred implementation, step S3, rendering all the components of the Chinese character by OpenType according to a preset color, and displaying the rendered Chinese character, comprises:
[0098] Setting the correspondence between each component and the preset color;
[0099] According to the structure of the Chinese character, the component is divided into n parts; wherein n is the number of the colors corresponding to the component, and n≥1;
[0100] Each part of all the components of the Chinese character is rendered by OpenType according to the corresponding relationship.
[0101] Furthermore, the setting of the correspondence between each component and the preset color includes:
[0102] Setting the pictographic component to correspond to a preset first color;
[0103] Setting the marking component to correspond to a preset second color;
[0104] Setting the stroke indication component to correspond to a preset third color;
[0105] Setting the symbol component to correspond to a preset fourth color;
[0106] For the phonetic symbol component or the semantic symbol and phonetic symbol component, obtaining the phonetic accuracy according to the pronunciation of the Chinese character;
[0107] According to the phonetic accuracy, setting the phonetic note component to correspond to a preset fifth color or a sixth color;
[0108] According to the phonetic accuracy, the semantic and phonetic symbol component is set to correspond to a preset combination of the fourth color and the fifth color or a combination of the fourth color and the sixth color.
[0109] It should be noted that since both the irrational characters and symbols are Chinese characters that have lost their rationale in whole or in part, they are all regarded as symbol components, and the symbol components in the Chinese characters are rendered in the second color.
[0110] For example, see Figure 2 In the embodiment of the present invention, the first color is gray, which is used to render the pictographic component; the second color is yellow, which is used to render the sign component; the third color is purple, which is used to render the stroke indication component; the fourth color is vermilion, which is used to render the ideographic component; the fifth color is cyan, which is used to render the non-phonetic and inaccurate phonetic component; the sixth color is blue, which is used to render the phonetic and inaccurate phonetic component. If a component has the attributes of the above-mentioned multiple component types at the same time, it is rendered with multiple colors. For example, the word "gong" is composed of a ideographic and phonetic component and a ideographic component, wherein the ideographic and phonetic component has the attributes of ideographic and phonetic, so the combination of the fourth color and the fifth color is used for rendering.
[0111] Further, the phonetic symbol component or the semantic symbol and phonetic symbol component is used to obtain the phonetic accuracy according to the pronunciation of the Chinese character, including:
[0112] Determine whether the initial consonant and final vowel of the pronunciation of the phonetic symbol component or the semantic symbol and phonetic symbol component are consistent with those of the Chinese character;
[0113] If at least one of the initial consonant and the final is inconsistent, the phonetic accuracy of the phonetic symbol component or the semantic symbol and phonetic symbol component is considered to be inaccurate phonetic representation;
[0114] If the initial consonant and the final vowel are consistent, determine whether the tone of the phonetic symbol component or the semantic symbol and phonetic symbol component is consistent with the pronunciation of the Chinese character;
[0115] If the tones are consistent, the phonetic accuracy of the phonetic symbol component or the semantic symbol and phonetic symbol component is considered to be first-level accurate phonetic representation;
[0116] If the tones are inconsistent, the phonetic accuracy of the phonetic symbol component or the semantic and phonetic symbol component is considered to be level 2 accurate phonetic representation, and the tone of the Chinese character is marked on either side of the phonetic symbol when rendering the phonetic symbol component or the semantic and phonetic symbol component.
[0117] In some embodiments, in order to avoid the annotation affecting the display of the entire Chinese character, the annotation side of the Chinese character tone corresponds to the position of the phonetic symbol in the entire Chinese character. That is, if the phonetic symbol is on the left side of the entire Chinese character, the tone of the Chinese character is marked on the left side of the phonetic symbol; if the phonetic symbol is on the right side of the entire Chinese character, the tone of the Chinese character is marked on the right side of the phonetic symbol; if the phonetic symbol is on the upper side of the entire Chinese character, the tone of the Chinese character is marked on the upper side of the phonetic symbol; if the phonetic symbol is on the lower side of the entire Chinese character, the tone of the Chinese character is marked on the lower side of the phonetic symbol.
[0118] In some preferred embodiments, setting the phonetic symbol component to correspond to a preset fifth color or a sixth color according to the phonetic accuracy includes:
[0119] When the phonetic accuracy of the phonetic symbol component is first-level accurate phonetic or second-level accurate phonetic, set the phonetic symbol component to correspond to a preset fifth color;
[0120] When the phonetic accuracy of the phonetic symbol component is inaccurate phonetic, set the phonetic symbol component to correspond to a preset sixth color;
[0121] According to the phonetic accuracy, set the semantic-phonetic symbol component to correspond to a combination of a preset fourth color and a fifth color or a combination of a fourth color and a sixth color, including:
[0122] When the phonetic accuracy of the semantic-phonetic symbol component is first-level accurate phonetic or second-level accurate phonetic, set the semantic-phonetic symbol component to correspond to a combination of a preset fourth color and a fifth color;
[0123] When the phonetic accuracy of the semantic-phonetic symbol component is inaccurate phonetic, set the semantic-phonetic symbol component to correspond to a combination of a preset fourth color and a sixth color.
[0124] Exemplarily, please refer to Figure 2 , the left component of the associative compound character "功" has both phonetic and semantic functions, and its phonetic accuracy is first-level accurate phonetic. Then, render the phonetic symbol according to the preset fourth color and the preset fifth color. In the process of specifically performing color rendering, since the character "功" is a left-right structure, divide the left phonetic symbol component into two equal parts from left to right. The first part is rendered according to the preset fourth color, and the second part is rendered according to the preset fifth color.
[0125] Exemplarily, the upper component of the phonetic-semantic compound character "常" is a phonetic symbol, but its initial consonant is different from that of the Chinese character. Therefore, it is considered that the phonetic accuracy of this phonetic symbol is inaccurate phonetic, and render the phonetic symbol according to the preset sixth color. The left component of the phonetic-semantic compound character "歌" is a phonetic symbol, and its initial consonant, final consonant, and pronunciation are all the same as those of the whole character. Therefore, it is determined as first-level accurate phonetic, and render the phonetic symbol component "哥" with the preset fifth color. For the right semantic component, render it according to the preset fourth color. The left component of the phonetic-semantic compound character "放" is a phonetic symbol with second-level accurate phonetic, render the phonetic symbol component with the preset fifth color, and at the same time mark the tone of the Chinese character on the left side of the phonetic symbol.
[0126] As a preferred implementation manner, the method for displaying Chinese characters based on motivation further includes:
[0127] Obtain the ancient Chinese character form corresponding to the Chinese character or the component in the Chinese character, and use OpenType technology to set the glyph style for the Chinese character; when switching to the glyph style, the ancient Chinese character form corresponding to the Chinese character or the component in the Chinese character will be displayed;
[0128] Obtain the graph corresponding to the Chinese character, and use OpenType technology to set the graph style for the Chinese character; when switching to the graph style, the graph corresponding to the Chinese character will be displayed.
[0129] Exemplarily, refer to Figure 3 , Figure 3 On the left is the regular script of the pictograph "meat". However, from the modern glyph, it is difficult to see how it is pictographic. By switching the glyph style to display the small seal script on the right, the strokes in the middle of the character "meat" can be more vividly explained, like the texture of meat, which can enhance the interpretability of the rationale of Chinese characters and achieve better teaching effects.
[0130] In some embodiments, the graph styles of Chinese characters can also be increased. Please refer to Figure 4 , taking the character "休" as an example, "休" is a compound ideogram, indicating that a person is resting against a tree. However, it is difficult to understand the meaning of rest just from the regular script glyph. In the embodiments of the present invention, through the setting and switching of graph styles, it can be clearly shown that a person is leaning against a tree, and the meaning of "rest" is more obvious.
[0131] Adopting a rationale-based Chinese character display method provided by the embodiments of the present invention, different color representations are used for different character formation methods or different components, and the functions corresponding to each color are different. It can intuitively, vividly, conveniently and systematically display the rationale of Chinese characters by using computer OpenType technology, which is beneficial to the popularization of Chinese characters and the progress of teaching activities.
[0132] The embodiments of the present invention provide a rationale-based Chinese character display system. Please refer to Figure 5 , the rationale-based Chinese character display system includes a character formation category division module 11, a component disassembling module 12, and a Chinese character rendering and display module 13, where:
[0133] The character formation category division module 11 determines the character formation category of the Chinese character according to the character formation method of the Chinese character; the character formation category includes pictographs, ideographs, compound ideograms and phono-semantic compounds, compound ideograms, phono-semantic compounds, and characters without rationale;
[0134] The component disassembling module 12 is used to disassemble the Chinese character according to the character formation category of the Chinese character to obtain all components of the Chinese character;
[0135] The Chinese character rendering and display module 13 is used to render all the components of the Chinese character by OpenType according to the preset color and display the Chinese character after rendering.
[0136] As a preferred implementation manner, the component disassembling module 12 includes:
[0137] A pictographic character decomposition unit, used for, when the character creation category of the Chinese character is a pictographic character, regarding the whole Chinese character as a pictographic component, and obtaining all components of the Chinese character according to the pictographic component;
[0138] a pictographic character decomposition unit, for decomposing the Chinese character into at least one component when the character creation category of the Chinese character is a pictographic character, and obtaining all components of the Chinese character according to the at least one component; wherein the components at least include a stroke indication component;
[0139] a pictophonetic and ideophonetic character decomposition unit, for decomposing the Chinese character into at least two components when the character creation category of the Chinese character is a pictophonetic and ideophonetic character, and obtaining all components of the Chinese character according to the at least two components; wherein at least one component obtained by decomposition is a ideophonetic and ideophonetic character, and the remaining components are ideophonetic characters;
[0140] A pictophonetic character decomposition unit, for decomposing the Chinese character into at least two components when the character creation category of the Chinese character is a pictophonetic character, and obtaining all components of the Chinese character according to the at least two components; wherein the at least two components include a ideogram, a phonetic character and a sign;
[0141] The irrational character disassembling unit is used to regard the whole Chinese character as a symbol component when the character creation category of the Chinese character is irrational character, and obtain all components of the Chinese character according to the symbol component.
[0142] Further, preferably, the ideographic character decomposition unit is specifically used for:
[0143] When the Chinese character is a pictographic character, determining whether the pictographic character contains a pictographic component;
[0144] If a pictographic character is included, extract the pictographic component of the indicative character, and determine whether the remaining part is a stroke indicating component;
[0145] If it is a stroke indicating component, the Chinese character is decomposed into a combination of a pictographic component and a stroke indicating component to obtain all components of the Chinese character;
[0146] If it does not contain a pictographic character or is not a stroke indicating component, the entire Chinese character is regarded as a stroke indicating component.
[0147] Preferably, the ideographic character or phono-semantic character decomposition unit is specifically used for:
[0148] When the Chinese character is a ideographic character, the Chinese character is decomposed into at least two ideographic components;
[0149] When the Chinese character is a phono-semantic character, the Chinese character is decomposed into at least two components, at least one of which is a semantic component.
[0150] As a preferred implementation, the Chinese character rendering and display module 13 includes:
[0151] A color correspondence setting unit, used to set the correspondence between each component and the preset color;
[0152] A component division unit, used for dividing the component into n parts according to the structure of the Chinese character; wherein n is the number of the colors corresponding to the component, and n≥1;
[0153] The component rendering unit is used to render each part of all the components of the Chinese character according to the corresponding relationship through OpenType.
[0154] Further, preferably, the color correspondence relationship setting unit is specifically used to:
[0155] Setting the pictographic component to correspond to a preset first color;
[0156] Setting the marking component to correspond to a preset second color;
[0157] Setting the stroke indication component to correspond to a preset third color;
[0158] Setting the symbol component to correspond to a preset fourth color;
[0159] For the phonetic symbol component or the semantic symbol and phonetic symbol component, obtaining the phonetic accuracy according to the pronunciation of the Chinese character;
[0160] According to the phonetic accuracy, setting the phonetic note component to correspond to a preset fifth color or a sixth color;
[0161] According to the phonetic accuracy, the semantic and phonetic symbol component is set to correspond to a preset combination of the fourth color and the fifth color or a combination of the fourth color and the sixth color.
[0162] Furthermore, as a preferred embodiment, the phonetic symbol component or the semantic symbol and phonetic symbol component is used to obtain the phonetic accuracy according to the pronunciation of the Chinese character, including:
[0163] Determine whether the initial consonant and final vowel of the pronunciation of the phonetic symbol component or the semantic symbol and phonetic symbol component are consistent with those of the Chinese character;
[0164] If at least one of the initial consonant and the final is inconsistent, the phonetic accuracy of the phonetic symbol component or the semantic symbol and phonetic symbol component is considered to be inaccurate phonetic representation;
[0165] If the initial consonant and the final vowel are consistent, determine whether the tone of the phonetic symbol component or the semantic symbol and phonetic symbol component is consistent with the pronunciation of the Chinese character;
[0166] If the tones are consistent, the phonetic accuracy of the phonetic symbol component or the semantic symbol and phonetic symbol component is considered to be first-level accurate phonetic representation;
[0167] If the tones are inconsistent, the phonetic accuracy of the phonetic symbol component or the semantic and phonetic symbol component is considered to be level 2 accurate phonetic representation, and the tone of the Chinese character is marked on either side of the phonetic symbol when rendering the phonetic symbol component or the semantic and phonetic symbol component.
[0168] As a preferred implementation, the setting of the phonetic symbol component to correspond to a preset fifth color or a sixth color according to the phonetic accuracy includes:
[0169] When the phonetic accuracy of the phonetic note component is first-level accurate phonetic representation or second-level accurate phonetic representation, setting the phonetic note component to correspond to a preset fifth color;
[0170] When the phonetic representation accuracy of the phonetic note component is inaccurate phonetic representation, setting the phonetic note component to correspond to a preset sixth color;
[0171] According to the phonetic accuracy, setting the semantic and phonetic symbol component to correspond to a preset fourth color and a fifth color combination or a preset fourth color and a sixth color combination includes:
[0172] When the phonetic accuracy of the ideophonetic symbol component is first-level phonetic accuracy or second-level phonetic accuracy, setting the ideophonetic symbol component to correspond to a preset fourth color and a fifth color combination;
[0173] When the phonetic accuracy of the ideophonetic notation component is inaccurate phonetic representation, the ideophonetic notation component is set to correspond to a preset combination of a fourth color and a sixth color.
[0174] As a preferred embodiment, the Chinese character display system based on rationale further includes:
[0175] A glyph style setting module, used to obtain the ancient Chinese glyph corresponding to the Chinese character or the component in the Chinese character, and set the glyph style for the Chinese character using OpenType technology; when switching to the glyph style, the ancient Chinese glyph corresponding to the Chinese character or the component in the Chinese character will be displayed;
[0176] The graphic style setting module is used to obtain the graphic corresponding to the Chinese character and use OpenType technology to set the graphic style for the Chinese character; when switching to the graphic style, the graphic corresponding to the Chinese character will be displayed.
[0177] A Chinese character display system based on rationale provided by an embodiment of the present invention uses different colors to represent different character creation methods or different components. Each color corresponds to a different function. It can intuitively, vividly, conveniently and systematically display the rationale of Chinese characters using computer OpenType technology, which is conducive to the promotion of Chinese characters and the implementation of teaching activities.
[0178] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0179] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A Chinese character display method based on rationale, characterized in that: include: Determining the character creation category of the Chinese character according to the character creation method of the Chinese character; The categories of character creation include pictographic characters, indicative characters, ideographic characters and phono-semantic characters, ideographic characters, phono-semantic characters and characters without rationale; According to the character creation category of the Chinese character, the Chinese character is disassembled to obtain all components of the Chinese character; All the components of the Chinese character are rendered by OpenType according to the preset color, and the rendered Chinese character is displayed.
2. A Chinese character display method based on reasoning as claimed in claim 1, characterized in that: According to the category of the Chinese character, the Chinese character is disassembled to obtain all the components of the Chinese character, including: When the Chinese character is a pictographic character, the whole Chinese character is regarded as a pictographic component, and all components of the Chinese character are obtained according to the pictographic component; When the Chinese character is a pictographic character, the Chinese character is decomposed into at least one component, and all components of the Chinese character are obtained according to the at least one component; wherein the components at least include a stroke indicating component; When the Chinese character is a pictophonetic character, the Chinese character is decomposed into at least two components, and all components of the Chinese character are obtained according to the at least two components; wherein at least one component obtained by decomposition is a pictophonetic character and a phono-ideophonetic character, and the remaining components are pictophonetic characters; When the Chinese character is a pictophonetic character or a phono-semantic character, the Chinese character is decomposed into at least two components, and all components of the Chinese character are obtained according to the at least two components; wherein the at least two components include a ideophonetic character, a phonetic character, and a sign; When the character creation category of the Chinese character is an irrational character, the whole Chinese character is regarded as a symbol component, and all components of the Chinese character are obtained according to the symbol component.
3. A Chinese character display method based on reasoning as claimed in claim 2, characterized in that: When the Chinese character is a pictographic character, the Chinese character is decomposed into at least one component, and all components of the Chinese character are obtained according to the at least one component, including: When the Chinese character is a pictographic character, determining whether the pictographic character contains a pictographic component; If a pictographic character is included, extract the pictographic component of the indicative character, and determine whether the remaining part is a stroke indicating component; If it is a stroke indicating component, the Chinese character is decomposed into a combination of a pictographic component and a stroke indicating component to obtain all components of the Chinese character; If it does not contain a pictographic character or is not a stroke indicating component, the entire Chinese character is regarded as a stroke indicating component.
4. A Chinese character display method based on reasoning as claimed in claim 2, characterized in that: When the Chinese character is a pictophonetic character or a phono-semantic character, the Chinese character is decomposed into at least two components, and all components of the Chinese character are obtained according to the at least two components, including: When the Chinese character is a ideographic character, the Chinese character is decomposed into at least two ideographic components; When the Chinese character is a phono-semantic character, the Chinese character is decomposed into at least two components, at least one of which is a semantic component.
5. The Chinese character display method based on reasoning as claimed in claim 2, characterized in that: Rendering all the components of the Chinese character by OpenType according to the preset color and displaying the rendered Chinese character includes: Setting the correspondence between each component and the preset color; According to the structure of the Chinese character, the component is divided into n parts; wherein n is the number of the colors corresponding to the component, and n≥1; Each part of all the components of the Chinese character is rendered by OpenType according to the corresponding relationship.
6. A Chinese character display method based on reasoning as claimed in claim 5, characterized in that: The setting of the correspondence between each component and the preset color includes: Setting the pictographic component to correspond to a preset first color; Setting the marking component to correspond to a preset second color; Setting the stroke indication component to correspond to a preset third color; Setting the symbol component to correspond to a preset fourth color; For the phonetic symbol component or the semantic symbol and phonetic symbol component, obtaining the phonetic accuracy according to the pronunciation of the Chinese character; According to the phonetic accuracy, setting the phonetic note component to correspond to a preset fifth color or a sixth color; According to the phonetic accuracy, the semantic and phonetic symbol component is set to correspond to a preset combination of the fourth color and the fifth color or a combination of the fourth color and the sixth color.
7. A Chinese character display method based on reasoning as claimed in claim 6, characterized in that: The method of obtaining the phonetic accuracy of the phonetic symbol component or the semantic symbol and phonetic symbol component according to the pronunciation of the Chinese character comprises: Determine whether the initial consonant and final vowel of the pronunciation of the phonetic symbol component or the semantic symbol and phonetic symbol component are consistent with those of the Chinese character; If at least one of the initial consonant and the final is inconsistent, the phonetic accuracy of the phonetic symbol component or the semantic symbol and phonetic symbol component is considered to be inaccurate phonetic representation; If the initial consonant and the final vowel are consistent, determine whether the tone of the phonetic symbol component or the semantic symbol and phonetic symbol component is consistent with the pronunciation of the Chinese character; If the tones are consistent, the phonetic accuracy of the phonetic symbol component or the semantic symbol and phonetic symbol component is considered to be first-level accurate phonetic representation; If the tones are inconsistent, the phonetic accuracy of the phonetic symbol component or the semantic and phonetic symbol component is considered to be level 2 accurate phonetic representation, and the tone of the Chinese character is marked on either side of the phonetic symbol when rendering the phonetic symbol component or the semantic and phonetic symbol component.
8. A Chinese character display method based on reasoning as claimed in claim 7, characterized in that: The step of setting the phonetic symbol component to correspond to a preset fifth color or a preset sixth color according to the phonetic accuracy comprises: When the phonetic accuracy of the phonetic note component is first-level accurate phonetic representation or second-level accurate phonetic representation, setting the phonetic note component to correspond to a preset fifth color; When the phonetic representation accuracy of the phonetic note component is inaccurate phonetic representation, setting the phonetic note component to correspond to a preset sixth color; According to the phonetic accuracy, setting the semantic and phonetic symbol component to correspond to a preset fourth color and a fifth color combination or a preset fourth color and a sixth color combination includes: When the phonetic accuracy of the ideophonetic symbol component is first-level phonetic accuracy or second-level phonetic accuracy, setting the ideophonetic symbol component to correspond to a preset fourth color and a fifth color combination; When the phonetic accuracy of the ideophonetic notation component is inaccurate phonetic representation, the ideophonetic notation component is set to correspond to a preset combination of a fourth color and a sixth color.
9. The Chinese character display method based on reasoning as claimed in claim 1, characterized in that: The Chinese character display method based on rationale also includes: Obtaining the ancient Chinese characters corresponding to the Chinese characters or the components in the Chinese characters, and setting the glyph style for the Chinese characters by using the OpenType technology; when switching to the glyph style, the ancient Chinese characters corresponding to the Chinese characters or the components in the Chinese characters will be displayed; The graphic corresponding to the Chinese character is obtained, and the graphic style is set for the Chinese character using the OpenType technology; when the graphic style is switched to the graphic style, the graphic corresponding to the Chinese character will be displayed.
10. A Chinese character display system based on rationale, characterized in that: include: A character creation category classification module, used to determine the character creation category of the Chinese character according to the character creation method of the Chinese character; The categories of character creation include pictographic characters, indicative characters, ideographic characters and phono-semantic characters, ideographic characters, phono-semantic characters and characters without rationale; A component disassembly module, used to disassemble the Chinese character according to the character creation category of the Chinese character to obtain all the components of the Chinese character; The Chinese character rendering and display module is used to render all the components of the Chinese character through OpenType according to preset colors and display the rendered Chinese character.
Citation Information
Patent Citations
Chinese character pictographic code computer input method based on Chinese character basic components
CN103324299A
Kanji learning tools
JP6089255B1