Summary of the invention
The purpose of this invention is to provide a kind of effective half square braille digital coding Chinese character inputting method, so that the blind person imports Chinese character and symbol better easily on common computer, push-button telephone, mobile phone, palm PC and other digital input keyboard, carry out word processing and information interchange.
For achieving the above object, the present invention has taked following technical scheme:
The general braille of present China, be actually a kind of phonetic plan, initial consonant and simple or compound vowel of a Chinese syllable all account for side's braille of braille, but the definition of initial consonant and simple or compound vowel of a Chinese syllable and Pinyin rule are slightly different with the Scheme for the Chinese Phonetic Alphabet of country's promulgation, as initial consonant " y " and " w " have been cancelled, some initial consonants can use separately, and some simple or compound vowel of a Chinese syllable that can not use separately in the Scheme for the Chinese Phonetic Alphabet also can use separately in braille etc.
What the inventive method was different with common braille coded input method is, it is not the preface of the point naturally code fetch according to braille, but two ens about earlier side's Braille being split as, and to two en absolute codings, two codings being made up of left and right en coding are determined the coding of side's Braille then.
Input keyboard of the present invention is a numeric keypad, two ens about first every side's braille with braille is split as, two ens counts about representing respectively with the numerical key on the numeric keypad then, by a left side, two codings that right en coding is formed are determined the coding of side's Braille, the numerical coding of Chinese character initial consonant simple or compound vowel of a Chinese syllable and the pairing braille of tone constitutes the digital input coding of Chinese character, all kinds of symbols and other literal are also determined numerical coding by its braille definition, use inputting Chinese characters with numeral keys and word, other literal and symbol, perhaps output braille glyph on special braille typewriter.
The present invention adopts following two kinds of coded systems:
1, every side's braille of braille is split as about two ens, left and right sides en respectively has 3 some positions, and 8 kinds of possible some prefaces are respectively arranged; Represent 1 point, 2 points, 3 points, 12 points, 13 points, 23 points, of left en and 4 points, 5 points, 6 points, 45 points, 46 points, 56 points, 456 points of right en successively at 123 with the numerical key on the numeric keypad 1,4,7,2,5,8,0 then, numerical key 3 left en of representative or right en ignores; The coding of the 1st, 2,3,4 tones of Chinese character is represented with its corresponding numerical key 1,4,7,8 in braille point position respectively; Two codings being made up of left and right en coding are determined the coding of side's Brailles, and the numerical coding of Chinese character initial consonant simple or compound vowel of a Chinese syllable and the pairing braille of tone constitutes the digital input coding of Chinese character.
2, two ens about every side's braille of braille is split as, use 3 numerals 1 in numeric keypad left side then, 4,7 represent 1 point of left en respectively, 2 points, 3 points, three numerals 3 with the numeric keypad right side, 6,9 represent 4 points of right en respectively, 5 points, 6 points, 4 numerals 2 with numeric keypad central authorities, 5,8,0 represents 12 points of left en successively, 13 points, 23 points, 45 points of 123 and right en, 46 points, 56 points, 456 points, except that " swooning " preceding adding numerical key " 9 " expression " empty en " with 456 corresponding final, " empty en " under all the other situations all is left in the basket when word coding method; 1st, the coding of 2,3,4 tones is represented with the numerical key 1,4,7 and 8 of corresponding braille correspondence respectively, two codings being made up of left and right en coding are determined the coding of side's Brailles, and the numerical coding of Chinese character initial consonant simple or compound vowel of a Chinese syllable and the pairing braille of tone constitutes the digital input coding of Chinese character.
On the basis of preceding method, after the coding of Chinese character is finished, can be Chinese word coding, the coding of speech is made up of the part in corresponding each word code coding, and the length of speech can be two words or three words or more than four words.
One of its optimized encoding rule is: the coding of two-character word is made up of the tone coding that the Pinyin coding of two words adds two words; The coding of three words is made up of preceding two yards tone codings with preceding two words of every word; The above speech of four words, coding are encoded by preceding two yards of the every word of first three word, last word preceding two yards and preceding two word tones successively and are formed; The coding maximum length is 10.
Another kind of preferred term group coding rule is: the coding of two-character word still is made up of the tone coding that the Pinyin coding of two words adds two words; The coding of three words is got first yard and first yard (situation of having only initial consonant or simple or compound vowel of a Chinese syllable, two yards of then getting this side) of simple or compound vowel of a Chinese syllable of three word braille initial consonants successively, adds the tone coding of preceding two words then; For the above speech of four words, coding is got first yard and first yard (getting this side's coding when having only initial consonant or simple or compound vowel of a Chinese syllable) of simple or compound vowel of a Chinese syllable of first three word and last word initial consonant successively, adds the tone coding of preceding two words then.The speech maximum code length is 10.
In above-mentioned two kinds of schemes, the afterbody of Chinese word coding has all added the tone coding of preceding two words (lead-in and secondary word) as identification code, and to reduce the repetition rate of coding, the speech of no repeated code can not use the Tone recognition sign indicating number.
The present invention can also with the coding in do not use input keyboard other keys as function key, be used to switch English input state and input digit state etc.
It is punctuation mark, other conventional sign and other literal code that the inventive method can also adopt the rule of Braille.
Beneficial effect of the present invention is:
1, the inventive method belongs to a kind of braille digit code Chinese character input method, be with common braille coded input method difference: it is not to encode according to the preface of point naturally of braille, but two ens about earlier side's Braille being split as, use a numeral in 0 to 9 as the coding of en then, the code length of side's braille only is 2; By contrast, the braille input method that routine can be used on numeric keypad, the code length of one side is on average near 4, and after the input of a side coding finishes, also need by acknowledgement key, so input method of the present invention has higher efficient; Owing to kept the writing feature of braille, therefore for the blind person, be easy to learn and use simultaneously;
2, in the braille pinyin digital encoded tail of words, added the tone coding as identification code, wherein the Tone recognition sign indicating number of word is 1, and the Tone recognition sign indicating number of speech is 2.The utilization of Tone recognition sign indicating number has reduced the repetition rate of coding of word, speech largely;
3, for the above speech of three words, adopt discrete coded system, made the maximum code length of speech be no more than 10, improved input efficiency.
Embodiment:
Below in conjunction with specific embodiment content of the present invention is described in further details:
Embodiment 1 (8 key scheme)
The present embodiment numeral is as shown in table 1 with the rule of correspondence of left and right sides en point position:
The corresponding relation of numerical key and braille point position among table 1 embodiment 1
Numerical key |
1 |
4 |
7 |
2 |
5 |
8 |
0 |
3 |
Left side en |
1 point |
2 points |
3 points |
12 points |
13 points |
23 points |
123 points |
Empty |
Right en |
4 points |
5 points |
6 points |
45 points |
46 points |
56 points |
456 points |
Empty |
The numerical key corresponding with braille adopts the sequential organization by row in the table 1, is in order to meet the writing style of braille.Certainly also can adopt other corresponded manner.8 in 10 numerical keys have only been used in the such scheme, so be referred to as 8 key schemes.
In the present embodiment, each numerical key all simultaneously corresponding about the some preface of two ens, a same numeral as 4, is represented 2 points at left en, then represents 5 points at right en; 5 represent 13 points at left en, then represent 46 points at right en.
According to above coding rule, be exemplified below:
The braille point position of initial consonant " t " is 2345 points, and left en is 23 points, is encoded to 8; Right en is 45 points, is encoded to 2, and therefore " t's " is encoded to 82; The point position of simple or compound vowel of a Chinese syllable " ai " is 246 points, and left en is 2 points, is encoded to 4, and right en is 46 points, is encoded to 5, and therefore " ai's " is encoded to 45; Therefore " tai's " is encoded to 8245.
The point position of " yang " (or " iang ", the two is not distinguished in braille) is 1346 points, and left en is 13 points, and corresponding to key 5, right en is 46 points, and equally corresponding to key 5, therefore " yang's " is encoded to 55.The braille point position of initial consonant " ch " is 12345 points, and left en is 123 points, corresponding to numerical key 0; Right en is 45 points, corresponding to numerical key 2, so initial consonant " ch " be encoded to 02; Simple or compound vowel of a Chinese syllable " en " (grace " Braille be 356 points, left en is 3 points, corresponding keys position 7, right en is 56 points, corresponding to key position 8, therefore " en's " is encoded to 78; Therefore " chen's " is encoded to 0278.
For another example: " I " (123 point) be encoded to 03, " 1 " (24 point) be encoded to 41, therefore " i
I" be encoded to 0341;
The point position of " fu " is: 124 point+136 point, so it is encoded to: 2157;
The point position of " ming " is 134 point+16 points, so it is encoded to: 5117;
The point position of " hui " is 125 point+2456 points, so it is encoded to: 2440.
Can find out also that from top example if press nature point preface coding, then code length is more much longer than the length of en blind coding.
Because phonetically similar word is more in the Chinese character, for reducing repeated code, the present invention uses the Pinyin coding back to add the mode of tone coding in the coding of Chinese character.In prevailing mandarin braille, use 1 point respectively, 2 points, 3 and 23 expression the 1st, 2,3,4 tones, we use corresponding digital key 1,4,7,8 codings as 4 tones for this reason.For tone coding, certainly as required and conveniently, also can adopt other key, as 3,6,9 etc.
The complete coding of a Chinese character is made up of the tone coded two parts of corresponding Pinyin coding harmony, and Pinyin coding is preceding, after tone is coded in.As identification code, have only preceding 3 tones need add the tone coding, do not add the tone coding and then be defaulted as the 4th tone.Why giving tacit consent to the 4th tone, is because in Chinese character, and the probability maximum that the 4th tone occurs accounts for 30%, can improve input efficiency like this.
Be the complete coding that some Chinese characters adopt embodiment 1 method to obtain below:
Too: 8245 (, having omitted the tone coding) because be the 4th tone;
Big: 407, because " ui " phonetic alone in braille, so have only a side;
Grand: 24484; Rich: 2157; Bright: 51174;
For speech, adopt following coding rule:
1) two-character word: lead-in braille Pinyin coding+last word braille Pinyin coding+lead-in tone coding+last word tone coding;
2) three words: the preceding two yards+lead-in of preceding two yards+last word of the preceding two yards+secondary word of lead-in tone coding+secondary word tone coding;
3) the above speech of four words:
The preceding two yards+lead-in of the preceding two yards+secondary word of lead-in preceding two yards+last word of preceding the two yards+the 3rd word tone coding+secondary word tone coding
For the words of repeated code, because the blind person can only lean on voice to go one by one to listen, so repeated code can be wasted the time of word selection speech.For addressing this problem, we are added in the afterbody that phrase is encoded with the tone coding of preceding two words in the speech, as identification code, promptly when Pinyin coding has repeated code, are distinguished with tone.If Pinyin coding does not have repeated code, then these identification codes do not need to import, and when making input method procedure, can only have the phrase of repeated code to add the Tone recognition sign indicating number to Pinyin coding.
In Chinese word coding, the code of the 4th tone " 8 " can not omit.
For example: Beijing: 2385221771; Background: 2385221787.
Above the phonetic (preceding 8 codings) of two speech all identical, but after importing first Tone recognition sign indicating number, two speech are repeated code not just.For example: Teacher's Day: 22182281; Jinsha jiang River: 22182211; Connoisseur: 22182287.
Above three words of three pinyin coincident codes, behind input Tone recognition sign indicating number, just can distinguish fully.
For example: one: 417111; Always: 417114; Consistent: 417118; Transplant: 417144; Ruins: 417147; Unfulfilled wish: 417148; Known: 417171; Consequently: 417178 intentions: 417187; Will: 417188; Suppress: 417188.
Above the phonetic of 11 speech identical, therefore in common spelling input method, they can't be distinguished, and so many repeated code is extremely inconvenient when input, especially for the blind person; But after afterbody added Tone recognition sign indicating number of the present invention, above-mentioned repeated code had been eliminated basically, had only the identical speech of those phonetics and tone (as suppressing and firm will), just understand repeated code, but this situation was actually rare.
The coding of for example following two the four above speech of word: thriving: 2424244211; The People's Republic of China (PRC): 7124422214.
The maximum code length of all speech is 10, but in most cases only need be input to the 67th yard the time, speech has just come out.
The invention allows for another phrase coded system: for two-character word, coding rule is the same; As described below for three words, four words or the above speech of four words;
Three words: get first yard and first yard (situation of having only initial consonant or simple or compound vowel of a Chinese syllable, two yards of then getting this side) of simple or compound vowel of a Chinese syllable of every word braille initial consonant, add the tone coding of lead-in and secondary word then at afterbody; For the above speech of four words, get first yard and first yard (getting this side's coding when having only initial consonant or simple or compound vowel of a Chinese syllable) of simple or compound vowel of a Chinese syllable of first three word and last word initial consonant successively, add the tone coding of preceding two words then at afterbody.The maximum code length of speech is 10.A large amount of comparison shows that this scheme can reduce the repetition rate of coding to a certain extent.
For punctuation mark, adopt the braille scheme of braille equally, encode by top coding rule, as: " comma " (5 point): 34; " fullstop " (5 point+23 point): 3483; " branch " (56 point): 38; " question mark " (5 point+3 point): 3473; " exclamation mark " (56 point+2 point): 3843; " colon " (36 point): 77, or the like.
For saving input time, the coding of the empty en of punctuation mark tail end " 3 " can not imported.Such as "." coding can be reduced to 348; "? " coding can be reduced to 347 or the like.
The en braille coding of English digital:
A:13;b:23;c:11;d:12;e:14;f:21;g:22;h:24;i:41;j:42;k:53;l:03;m:51
N:52;o:54;p:01;q:02;r:04;s:81;t:82;u:57;v:07;w:40;x:55;y:50:z:58
Other symbol has the braille definition, can encode too.
This programme has only been used 8 numerical keys, and the numerical key of not using can be used as function key as 6 and 9 etc., is used for switching English input state and digital input state.
Embodiment 2 (10 key scheme)
The advantage of embodiment 1 scheme is easy, but also has significant disadvantages, and that will often use " empty en key " exactly, and we give second kind of scheme (being shown in Table 2) for this reason.
Table 2 embodiment 2 numerals and the mapping table of putting the position
Numerical key |
?1 |
?4 |
?7 |
2 |
5 |
8 |
?0 |
?3 |
?6 |
?9 |
Left side en |
1 point |
2 points |
3 points |
12 points |
13 points |
23 points |
123 points |
|
|
|
Right en |
|
|
|
45 points |
46 points |
56 points |
456 points |
4 points |
5 points |
6 points |
In the table 2, blank expression does not have corresponding relation.As 11 point, there is not corresponding relation with right en corresponding to left en; 65 points corresponding to right en do not have corresponding relation with left en; And 2 both corresponding to 12 points of left en, and simultaneously again corresponding to 45 points of right en, its implication is decided on particular location.
The method for expressing of tone is: the four tones of standard Chinese pronunciation do not need mark to transfer, and represent with 3 keys 1,4,7 of the leftmost side respectively for the 1st, 2,3, but in phrase, the 4th tone are represented with 8.
For initial consonant " b ", " l ", " k ", " q ", its right en is sky, then in embodiment 2, can omit the input of blank en.As: white is encoded to: 2454 and since 1,4,7 in the tone not can with the braille " knot side " of front, blank en in Therefore, omited can not cause confusion.
It should be noted that simple or compound vowel of a Chinese syllable " swoons ", both 456 points, the empty en of its front can not omit, and is blank with numerical key " 9 " expression in this programme, so being encoded to of " swooning " of 456 corresponding final: 90.
The advantage of embodiment 2 schemes is the blank ens that omitted in Pinyin coding and the punctuation mark coding, has improved efficient, and the order of left-right dots position and hand-written custom basically identical, and is convenient concerning the blind person.Also having a bit, is with 10 numeric keypad inputs, has improved dispersion, has reduced the repetition rate of coding.
Various word coding method rules among the embodiment 1 are equally applicable to scheme two.
The coding example of embodiment 2 words, speech and symbol: all sorts of flowers 245260071; White birch 245260048; ", ": 6; ".”:68;“?”:67。
Various half square braille digital codings can be finished by program among the present invention, and produce corresponding input method.