A kind of computer-aided instruction method and device thereof of Chinese character splitting input method
The present invention relates to a kind of computer-aided instruction method and device thereof of Chinese character splitting input method, they utilize computing machine or similar device to come the learning Chinese characters input method of divining by means of characters.
Import Chinese character (for example five-stroke character input method, Cangjie's input method etc.) by the method for divining by means of characters and have incomparable advantages such as high input speed, the repetition rate of coding be low with respect to other input methods, be professional entry personnel's optimal selection always, also helpful for general Chinese Computer operating personnel's routine work.Yet, with respect to other input methods, for example basic Chinese phonetic alphabet input method and development thereof and the double-spelling Chinese character input method that comes, they are often difficult grasping, and the learner need could skilled utilization through the training of long period.And ubiquity is following not enough in the current input method aided education:
1, the input method aided education of divining by means of characters at present often too biases toward book knowledge.Different with other knowledge of study, as a kind of practical technique, the input method teaching should be paid attention to exercise more.And current most aided education only notes allowing the learner remember abstract rules such as the thing that radical, font wait for death and the method for divining by means of characters, and has ignored the exercise process of most critical.In fact, radical, font and the rule of divining by means of characters etc. can only be grasped by reading relevant books fully.By divine by means of characters the exercise then can strengthen radical, font memory and to divine by means of characters the rule understanding.
2, present aided education all the exercise of divining by means of characters as a kind of check but not be learning process.Show a Chinese character earlier, import its character code, judge again, do not have the function of prompting mistake by the student.When making a mistake, the learner does not know mistake wherein, and is why wrong, DeGrain.
Therefore, the object of the present invention is to provide a kind of computer-aided instruction method of Chinese character splitting input method, it can improve learning efficiency effectively.
Another object of the present invention is to provide a kind of device of realizing said method, utilizes device of the present invention, can improve learning efficiency effectively.
The present invention is achieved in that according to a first aspect of the invention the computer-aided instruction method of Chinese character splitting input method provided by the invention comprises the following step:
A, produce a Chinese character at random, and be presented on the display device;
B, wait user import the key of this Chinese character;
C, the key of this Chinese character in the Chinese character key of user input and the Chinese character root code table is compared, judge whether the key that the user imports is correct;
If D is incorrect, then when this key is the radical attribute, on screen, show correct radical, when this key is last pen attribute, on screen, show last pen type, wait for that then the user imports once more;
If E is correct, then judge whether all to import the key of this Chinese character;
If F does not all finish, then get back to step B, if all finish, then finish.
According to a second aspect of the invention, in the computer-aided instruction method of above-mentioned Chinese character splitting input method, step D comprises: when this key is the radical attribute, show all represented radicals of this key on screen, be key surface character root, then correct radical instead shown.
According to a third aspect of the invention we, in the computer-aided instruction method of above-mentioned Chinese character splitting input method,, then show correct key if still incorrect in step D user's input once more.
According to a forth aspect of the invention, in the computer-aided instruction method of above-mentioned Chinese character splitting input method, also be included in the step that writes down the radical occurrence number and the number of times of makeing mistakes in the radical statistical form, when certain radical occurs, just the occurrence number with this radical in the radical statistical form increases 1, when the key of user's input was incorrect, just the number of times of makeing mistakes with this radical in the radical statistical form increased 1.
According to a fifth aspect of the invention, in the computer-aided instruction method of above-mentioned Chinese character splitting input method, in steps A, occurrence number and error rate according to radical, produce Chinese character at random, make the probability of occurrence of the Chinese character that comprises the few and radical that error rate is high of occurrence number bigger, wherein said error rate is the ratio of described make mistakes number of times and described occurrence number.
According to a sixth aspect of the invention, in the computer-aided instruction method of above-mentioned Chinese character splitting input method, in steps A, according to the occurrence number of radical in the radical statistical form and and the error rate that obtains according to the ratio of number of times of makeing mistakes with occurrence number, revise the Chinese character weight table as follows, the occurrence number that is the radical that comprises of Chinese character weights and this Chinese character is inversely proportional to, be directly proportional with error rate, according to the Chinese character weight table, produce Chinese character at random, make the probability of occurrence of the probability of occurrence of the high Chinese character of weights greater than the low Chinese character of weights.
According to a seventh aspect of the invention, in the computer-aided instruction method of above-mentioned Chinese character splitting input method, if when the step party B-subscriber imports help command, then from the help information database, transfer and the corresponding help information of key at that time to be imported, and show to the user.
According to an eighth aspect of the invention, the computer-aided instruction device of Chinese character splitting input method provided by the invention comprises:
Display device is used to show various information;
Chinese character is generation device at random, produces Chinese character at random, and is presented on the described display device;
Input media, the user utilizes the key of described input media input Chinese character;
It is characterized in that described instructional device also comprises:
The Chinese character root code table is used to store the key of Chinese character;
Key-radical corresponding tables is used to store the corresponding relation of key and radical;
The radical bitmap table is used to store the graph data of radical;
Controller, generation device, described Chinese character root code table, described key-radical corresponding tables and described radical bitmap table link to each other at random with described input media, described Chinese character, the user is compared by the key of described input media input and the key of this Chinese character in the described Chinese character root code table, judge whether the key of user's input is correct; If it is incorrect, then when correct key is the radical attribute, from described key-radical corresponding tables, take out the bitmap address of correct radical key, obtain the bitmap of described correct radical from described radical bitmap table according to described bitmap address, on described display device, show described correct radical then, if this key is last pen attribute, then on described display device, show last pen type.
According to a ninth aspect of the invention, in the computer-aided instruction device of above-mentioned Chinese character splitting input method, described Chinese character root code table comprises: Chinese character code length, each key attribute, each key value and represent the sequence number of radical in the radical of this key representative of this Chinese character, described key attribute comprises radical attribute and last pen attribute.
According to the tenth aspect of the invention, in the computer-aided instruction device of above-mentioned Chinese character splitting input method, described controller is when the key of judging user's input is incorrect, from described Chinese character root code table, obtain this key attribute, if radical attribute, then on display, show all represented radicals of described key, and described correct radical is instead shown.
According to an eleventh aspect of the invention, in the computer-aided instruction device of above-mentioned Chinese character splitting input method, described controller is when judging that user's input makes mistakes, after having shown correct radical, receive the input of described input media once more, and compare once more, if still incorrect, then on display, show described correct key.
According to a twelfth aspect of the invention, in the computer-aided instruction device of above-mentioned Chinese character splitting input method, also comprise:
The radical statistical form is used to write down the occurrence number of radical and the number of times of makeing mistakes;
When a radical occurred, described controller just increased one with the occurrence number of this radical in the described radical statistical form; When user's input made mistakes, described controller just increased one with the number of times of makeing mistakes of this radical in the described radical statistical form.
According to a thirteenth aspect of the invention, in the computer-aided instruction device of above-mentioned Chinese character splitting input method, described Chinese character at random generation device according to the radical occurrence number and the error rate of described radical statistical form, produce Chinese character at random, make the probability of occurrence of the Chinese character that comprises the few and radical that error rate is high of occurrence number bigger, described error rate is the ratio of described make mistakes number of times and described occurrence number.
According to a fourteenth aspect of the invention, in the computer-aided instruction device of above-mentioned Chinese character splitting input method, also comprise the Chinese character weight table, be used to store the Chinese character weights, described Chinese character weights are revised as follows according to described radical occurrence number and error rate, the occurrence number that is the radical that comprises of Chinese character weights and this Chinese character is inversely proportional to, be directly proportional with error rate, described Chinese character at random generation device according to the Chinese character weight table, produce Chinese character at random, make the probability of occurrence of the probability of occurrence of the big Chinese character of weights greater than the little Chinese character of weights, described error rate is the ratio of described make mistakes number of times and described occurrence number.
According to a fifteenth aspect of the invention, in the computer-aided instruction device of above-mentioned Chinese character splitting input method, also comprise:
The help information database has been stored the information relevant with the Chinese character splitting input method;
Aid-device, link to each other with described controller with described help information database, when the user requires help command by described input media input, described controller instruction aid-device is transferred from the help information database and the corresponding help information of key at that time to be imported, and shows on described display device.
Embodiments of the invention are described below with reference to the accompanying drawings, wherein:
Fig. 1 is the block scheme of an embodiment of computer-aided instruction device of Chinese character splitting input method of the present invention;
Fig. 2 is the workflow diagram of the computer-aided instruction device of Chinese character splitting input method shown in Figure 1;
Fig. 3 A and 3B show the storage format and an one object lesson of the Chinese character root table among Fig. 1 respectively;
Fig. 4 A and 4B show the storage format and an one object lesson of the key-radical corresponding tables 6 among Fig. 1 respectively;
Fig. 5 is the block scheme of another embodiment of computer-aided instruction device of Chinese character splitting input method of the present invention;
Fig. 6 is the block scheme of another embodiment of computer-aided instruction device of Chinese character splitting input method of the present invention.
The computer-aided instruction device of Chinese character splitting input method of the present invention is described earlier.Fig. 1 shows an embodiment of this device.
As shown in Figure 1, the computer-aided instruction device of Chinese character splitting input method of the present invention comprises display device 1, input media 2, controller 3 and Chinese character generation device 4 at random.Chinese character generation device 4 at random produces a Chinese character at random, is presented on the display device 1 by controller 3, and the user is by the key of input media 2 these Chinese characters of input, and controller 3 judges whether the key of input is correct.
As shown in Figure 1, the computer-aided instruction device of Chinese character splitting input method of the present invention also includes Chinese character root code table 5 and key-radical corresponding tables 6.Chinese character root code table 5 has been stored the key of Chinese character, its storage format as shown in Figure 3A:
Among Fig. 3 A, the coding code length of 50 these Chinese characters of expression, 51a represents the attribute of first key, and 51b represents the first key value, and 51c represents the radical sequence number; 52a represents the attribute of second key, and 52b represents the second key value, and 52c represents the radical sequence number; Next coming in order are analogized.
Fig. 3 B is an object lesson of the Chinese character root code table 5 shown in Fig. 3 A.In this example, encode with the Five-stroke Method method.The Five-stroke Method coding of " Yu " word is total up to four sign indicating numbers, and first key is J, and this key is represented radical " worm ", belongs to the radical attribute, so represent with ZG.Because it is a plurality of that the radical that can represent of key J has, as " day ", " early ", " Dao ",
" worm " etc., so 51c just represents the position of this radical in one group of radical of this key representative, i.e. sequence number.As
radical sequence number 51c is 6 just to represent the 6th radical in the radical that key J represents, is " worm ".For the key attribute, in five character shape codings, also has an end word attribute.Shown in Fig. 3 B, the quadrikey code J of " Yu " word is last pen attribute.
Key among Fig. 1-radical corresponding tables 6 is the corresponding relations that are used to store key and radical.Its storage format is shown in Fig. 4 A.
Among Fig. 4 A, the address of 61 expression key surface character root bitmaps; The represented total radical number of 62 these keys of expression, the address of 63 expressions, the first radical bitmap; The address of 64 expressions, the second radical bitmap; The address of 65 expressions the 3rd radical bitmap; By that analogy.
Fig. 4 B is an object lesson of the key shown in Fig. 4 A-radical corresponding tables 6.Be example with key J among this figure.Key J has represented 9 radicals altogether.OFFSET_J in 61 represent key J the data-bias of corresponding radical bitmap; Have 9 radicals on the 62 expression key J; 63,64,65 ... the bitmap images address of representing these nine radicals respectively.
As shown in Figure 1, the computer-aided instruction device of Chinese character splitting input method of the present invention also comprises radical bitmap table 8.Radical bitmap table 8 is used to store the bitmap image data of each radical.These data are used for showing corresponding radical image in display device 1.For example, the bitmap address that obtains radical " day " by key shown in Figure 4-radical corresponding tables 6 is (10,10), (25,25), then just can find the bitmap image data of this radical " worm ", thereby this radical is presented on the display device 1 by radical bitmap table 8.
The workflow of the computer-aided instruction device of Chinese character splitting input method shown in Figure 1 is described below with reference to Fig. 2.
As shown in Figure 2, at S101, by Chinese character at random generation device 4 produce a Chinese character at random, then at S102, on display device 1, show this Chinese character (below be example with " Yu " word, and import, but the present invention is not limited to this mode in the Five-stroke Method mode, alternate manner, for example Cangjie's input method etc. can be applied to the present invention equally).Controller 3 receives the input (step S103) of user by input media 2 then.Receive the key of user's input that input media 2 sends when controller 3 after, it and the key of above-mentioned Chinese character in the Chinese character root table 5 are compared, judge whether the key that the user imports is correct.In this example, require the key of input " Yu " word.Its first radical is " worm ", and corresponding key is " J ".If the key of user's input is " J ", then judged result is correct for input, and flow process enters into S104, judges whether current Chinese character input finishes, if do not finish, then flow process turns back to S103, receives the next key of user's input.If the key of user's input is not " J ", then judged result is incorrect, then flow process enters into S105, controller 3 utilizes Chinese character root code table 5 to obtain the correct key and the attribute of this key, and in this example, key is " J ", its attribute is ZG, expression radical attribute, correct radical should be " worm ", is " 6 " in its sequence number.Judge the attribute of key then at S106.If radical attribute, then enter into S107, obtain the bitmap images address of radical " worm " according to radical sequence number " 6 " from the key-radical corresponding tables 6 shown in Fig. 4 A and Fig. 4 B, obtain bitmap image data according to the address from radical bitmap table 8 again, on display device 1, show this radical " worm ".Also can adopt alternate manner to show here.For example, earlier all represented radicals of key " J " all are presented on the display device 1, then, radical " worm " that will be wherein correct shows with the anti-mode that shows again.If the judged result of step S106 is last pen attribute,, on screen, show last pen type then at S108.
Then, require the user to import once more.Judge once more at step S109 whether input is correct,, then on display device 1, show correct key, for example show " J " at step S110 if judged result still is incorrect.
Then, enter step S104.If the judged result of step S109 is correct, also enter step S104, judge whether current Chinese character finishes, if do not finish, then flow process turns back to step S103, if current Chinese character finishes, then this flow process finishes.Also can turn back to step S1, produce at random again and a Chinese character, repeat above-mentioned steps.
Fig. 5 shows another embodiment of the computer-aided instruction device of Chinese character splitting input method of the present invention.Embodiment shown in Figure 5 compares with embodiment shown in Figure 1, and is similar substantially, just increased a radical statistical form 9.The effect of this radical statistical form 9 is that the occurrence number and the user of storage radical imports the number of times of makeing mistakes.When a radical occurring, radical " worm " for example appears, and controller 3 just increases one with the occurrence number of radical " worm ", and when controller 3 judged that the user inputs radical " worm " by mistake, just the number of times of makeing mistakes with radical " worm " increased one.Chinese character at random generation device 4 when producing Chinese character, produce Chinese character at random according to radical occurrence number in the radical statistical form 9 and error rate, make the probability of occurrence of the Chinese character that comprises the few and radical that error rate is high of occurrence number bigger, the error rate here is the ratio of number of times and occurrence number of makeing mistakes.Like this, the Chinese character that comprises the few more radical of high more radical of error rate and occurrence number is just easy more selected, can user's weakness be giveed intensive training, improves training effectiveness effectively, reaches the purpose of quick grasp.Easy more selected because of the few more radical of occurrence number again, so prevented the omission of radical effectively, reach the purpose of comprehensive training.
As shown in Figure 5, the computer-aided instruction device of Chinese character splitting input method of the present invention can also comprise a Chinese character weight table 7, be used to store the Chinese character weights, these Chinese character weights are revised as follows according to radical occurrence number and error rate, the occurrence number that is the radical that comprises of Chinese character weights and this Chinese character is inversely proportional to, and is directly proportional with error rate.That is to say that the occurrence number of radical is many more, the weights of Chinese character that comprise this radical are just more little, and the error rate of radical is high more, and the weights of Chinese character that comprise this radical are just big more.Chinese character generation device at random produces Chinese character at random according to Chinese character weight table 7, makes the probability of occurrence of the probability of occurrence of the big Chinese character of weights greater than the little Chinese character of weights.The error rate here also is the ratio of number of times and occurrence number of makeing mistakes.
Fig. 6 shows another embodiment of the computer-aided instruction device of Chinese character splitting input method of the present invention.As shown in Figure 6, the difference of embodiment shown in Figure 6 and embodiment shown in Figure 1 only is to have increased aid-device 10 and help information database 11.As user during by input media 2 input help command, controller 3 is just controlled aid-device 10 and is taken out corresponding help information be presented on the display device 1 from help information database 11, for user learning and reference use.For example, when the user does not know how to import current key " worm ", can be by input media 2 input help command, this moment, aid-device 10 just took out the information of relevant radical " worm ", prompting user from help information data 11.
Fig. 5 and two embodiment shown in Figure 6 also can combine among the embodiment that is increased to Fig. 1 with respect to the part that Fig. 1 embodiment increases respectively, become a new embodiment.Because their working method is identical, therefore just no longer specifically describe at this.