TIBETAN INPUT METHOD AND SYSTEM
20170255274 · 2017-09-07
Inventors
Cpc classification
G06F3/023
PHYSICS
International classification
G06F3/023
PHYSICS
Abstract
A Tibetan input method and system relates to a character input method having an input module, including 47 input keys and used for inputting Tibetan characters; a keyboard definition module, including a plurality of storage units, each storage unit corresponding to one input key, and stores one or more Tibetan characters; when each storage unit stores a plurality of Tibetan characters, a preset ambiguous layout rule is satisfied; a Tibetan font, used for storing pre-combined Tibetan characters; and a processing device, which is respectively connected with the input module, the keyboard definition module and the Tibetan font, and is used for obtaining initial Tibetan characters corresponding to the input keys according to the keyboard definition module when the user inputs the Tibetan characters through the input keys, determining a target pre-combined Tibetan character according to the initial Tibetan characters and the Tibetan font, and outputting the target pre-combined Tibetan character.
Claims
1. A Tibetan input system, comprising: an input module, comprising 47 input keys and used by a user for inputting Tibetan characters; a keyboard definition module, comprising a plurality of storage units, wherein each storage unit corresponds to one input key, and stores one or more Tibetan characters; when each storage unit stores a plurality of Tibetan characters, a preset ambiguous layout rule is satisfied; a Tibetan font, used for storing pre-combined Tibetan characters; and a processing device, which is respectively connected with the input module, the keyboard definition module and the Tibetan font, and is used for obtaining initial Tibetan characters corresponding to the input keys according to the keyboard definition module when the user inputs the Tibetan characters through the input keys, determining a target pre-combined Tibetan character according to the initial Tibetan characters and the Tibetan font, and outputting the target pre-combined Tibetan character.
2. The Tibetan input system of claim 1, wherein the processing device comprises: a mapping module, used for obtaining the initial Tibetan characters corresponding to the input keys according to the keyboard definition module when the user inputs the Tibetan characters through the input keys; a first storage module, connected with the mapping module, and used for storing the initial Tibetan characters; a search processing module, connected with the first storage module, and used for using the initial Tibetan character as the target pre-combined Tibetan character when one initial Tibetan character exists, and outputting the target pre-combined Tibetan character; and the search processing module is further used for obtaining the Tibetan characters that are input in front of or behind the initial Tibetan characters when a plurality of initial Tibetan characters exist, searching the Tibetan font according to the Tibetan characters that are input in front of or behind the initial Tibetan characters and the initial Tibetan characters, determining the target pre-combined Tibetan character from the plurality of initial Tibetan characters, and outputting the target pre-combined Tibetan character.
3. The Tibetan input system of claim 1, wherein the preset ambiguous layout rule comprises: Tibetan superscripts and Tibetan radicals correspond to two storage units; Tibetan subscripts and Tibetan postscripts correspond to two storage units; when the intersection of a set consisting of all prescripts of the Tibetan superscripts and a set consisting of all radicals of the Tibetan subscripts is a null set, the Tibetan superscripts and the Tibetan subscripts can correspond to one storage unit; when Tibetan consonants cannot be spelled with the prescripts and the Tibetan consonants cannot be used as the postscripts, the Tibetan consonants and Tibetan vowels can correspond to one storage unit; and when the intersection of a set consisting of all prescripts of other Tibetan radicals excluding the Tibetan radicals corresponding to the consonants that can be used as the postscripts and a set consisting of all radicals of the Tibetan subscripts is a null set, the other Tibetan radicals and the Tibetan subscripts can correspond to one storage unit.
4. The Tibetan input system of claim 3, wherein, the Tibetan consonant and the Tibetan subscript
correspond to one storage unit, the Tibetan consonant
and the Tibetan vowel
correspond to one storage unit, the Tibetan consonant
and the Tibetan vowel
correspond to one storage unit, the Tibetan consonant
and the Tibetan vowel
correspond to one storage unit, the Tibetan consonant
and the Tibetan subscript
correspond to one storage unit, the Tibetan consonant
and the Tibetan subscript
correspond to one storage unit, the Tibetan consonant
and the Tibetan subscript
correspond to one storage unit, and the Tibetan consonant
and the Tibetan subscript
correspond to one storage unit.
5. The Tibetan input system of claim 4, wherein, among the other Tibetan characters excluding the Tibetan consonant , the Tibetan subscript
, the Tibetan consonant
, the Tibetan vowel
, the Tibetan consonant
, the Tibetan vowel
, the Tibetan consonant
, the Tibetan vowel
, the Tibetan consonant
, the Tibetan subscript
, the Tibetan consonant
, the Tibetan subscript
, the Tibetan consonant
, the Tibetan subscript
, the Tibetan consonant
and the Tibetan subscript
, each Tibetan character corresponds to one storage unit.
6. The Tibetan input system of claim 4, wherein, the input module is further used by the user for inputting an instruction; the storage unit further stores an instruction character, and the instruction character comprises one or more of a control character Ctrl, an alternate shift character Alt, a shift conversion character Shift, a carriage return character Enter, a backspace character Backspace, a tab character Tab and a capslock character Capslock; and the processing device is further used for obtaining the instruction character corresponding to the input key according to the keyboard definition module when the user inputs the instruction through the input key, and executing the instruction corresponding to the instruction character.
7. A Tibetan input method, comprising: S10, detecting whether a plurality of preset input keys are pressed down; S20, when the input keys are pressed down, obtaining initial Tibetan characters corresponding to the input keys according to a preset keyboard definition module, wherein the keyboard definition module comprises a plurality of storage units, each storage unit corresponds to one input key, and stores one or more Tibetan characters; when each storage unit stores a plurality of Tibetan characters, a preset ambiguous layout rule is satisfied; and S30, determining a target pre-combined Tibetan character according to the initial Tibetan characters and a preset Tibetan font, and outputting the target pre-combined Tibetan character.
8. The Tibetan input method of claim 7, wherein the S30 comprises: S301, judging whether one or a plurality of initial Tibetan characters exist; when one initial Tibetan character exists, executing S302; when a plurality of initial Tibetan characters exist, executing S303; S302, using the initial Tibetan character as the target pre-combined Tibetan character and outputting the target pre-combined Tibetan character; S303, obtaining the Tibetan characters that are input in front of or behind the initial Tibetan characters; and S304, searching the Tibetan font according to the Tibetan characters that are input in front of or behind the initial Tibetan characters and the initial Tibetan characters, determining the target pre-combined Tibetan character from the plurality of initial Tibetan characters, and outputting the target pre-combined Tibetan character.
9. The Tibetan input method of claim 7, wherein the preset ambiguous layout rule comprises: Tibetan superscripts and Tibetan radicals correspond to two storage units; Tibetan subscripts and Tibetan postscripts correspond to two storage units; when the intersection of a set consisting of all prescripts of the Tibetan superscripts and a set consisting of all radicals of the Tibetan subscripts is a null set, the Tibetan superscripts and the Tibetan subscripts can correspond to one storage unit; when Tibetan consonants cannot be spelled with the prescripts and the Tibetan consonants cannot be used as the postscripts, the Tibetan consonants and Tibetan vowels can correspond to one storage unit; and when the intersection of a set consisting of all prescripts of other Tibetan radicals excluding the Tibetan radicals corresponding to the consonants that can be used as the postscripts and a set consisting of all radicals of the Tibetan subscripts is a null set, the other Tibetan radicals and the Tibetan subscripts can correspond to one storage unit.
10. The Tibetan input method of claim 9, wherein, the Tibetan consonant and the Tibetan subscript
correspond to one storage unit, the Tibetan consonant
and the Tibetan vowel
correspond to one storage unit, the Tibetan consonant
and the Tibetan vowel
correspond to one storage unit, the Tibetan consonant
and the Tibetan vowel
correspond to one storage unit, the Tibetan consonant
and the Tibetan subscript
correspond to one storage unit, the Tibetan consonant
and the Tibetan subscript
correspond to one storage unit, the Tibetan consonant
and the Tibetan subscript
correspond to one storage unit, and the Tibetan consonant
and the Tibetan subscript
correspond to one storage unit.
Description
DRAWINGS
[0037] The drawings described herein are for illustrative purposes only of selected embodiments and not all possible implementations, and are not intended to limit the scope of the present disclosure.
[0038]
[0039]
[0040]
[0041]
DETAILED DESCRIPTION
[0042] The technical solutions of the present disclosure will be further illustrated below in combination with embodiments and accompanying drawings.
[0043] First embodiment
[0044] As shown in
[0045] an input module 101, including 47 input keys and used by a user for inputting Tibetan characters;
[0046] a keyboard definition module 102, including a plurality of storage units, wherein each storage unit corresponds to one input key, and stores one or more Tibetan characters; when each storage unit stores a plurality of Tibetan characters, a preset ambiguous layout rule is satisfied;
[0047] a Tibetan font 103, used for storing pre-combined Tibetan characters; and
[0048] a processing device 104, which is respectively connected with the input module, the keyboard definition module and the Tibetan font, and is used for obtaining initial Tibetan characters corresponding to the input keys according to the keyboard definition module when the user inputs the Tibetan characters through the input keys, determining a target pre-combined Tibetan character according to the initial Tibetan characters and the Tibetan font, and outputting the target pre-combined Tibetan character.
[0049] In the embodiment, the processing device 104 includes: a mapping module 1041, used for obtaining the initial Tibetan characters corresponding to the input keys according to the keyboard definition module when the user inputs the Tibetan characters through the input keys;
[0050] a first storage module 1042, connected with the mapping module, and used for storing the initial Tibetan characters;
[0051] a search processing module 1043, connected with the first storage module, and used for using the initial Tibetan character as the target pre-combined Tibetan character when one initial Tibetan character exists, and outputting the target pre-combined Tibetan character; and
[0052] the search processing module is further used for obtaining the Tibetan characters that are input in front of or behind the initial Tibetan characters when a plurality of initial Tibetan characters exist, searching the Tibetan font according to the Tibetan characters that are input in front of or behind the initial Tibetan characters and the initial Tibetan characters, determining the target pre-combined Tibetan character from the plurality of initial Tibetan characters, and outputting the target pre-combined Tibetan character.
[0053] The process of searching the Tibetan font according to the Tibetan characters that are input in front of or behind the initial Tibetan characters and the initial Tibetan characters and determining the target pre-combined Tibetan character from the plurality of initial Tibetan characters includes: searching the Tibetan font according to a Tibetan character string consisting of the Tibetan characters that are input in front of or behind the initial Tibetan characters and the initial Tibetan characters, and determining the target pre-combined Tibetan character that is coded corresponding to the Tibetan character string from the Tibetan font.
[0054] In the embodiment, the preset ambiguous layout rule indicates that if the storage unit stores a plurality of Tibetan scripts, only one Tibetan script can be output. Specifically, the preset ambiguous layout rule includes: Tibetan superscripts and Tibetan radicals correspond to two storage units; Tibetan subscripts and Tibetan postscripts correspond to two storage units; when the intersection of a set consisting of all prescripts of the Tibetan superscripts and a set consisting of all radicals of the Tibetan subscripts is a null set, the Tibetan superscripts and the Tibetan subscripts can correspond to one storage unit; when Tibetan consonants cannot be spelled with the prescripts and the Tibetan consonants cannot be used as the postscripts, the Tibetan consonants and Tibetan vowels can correspond to one storage unit; and when the intersection of a set consisting of all prescripts of other Tibetan radicals excluding the Tibetan radicals corresponding to the consonants that can be used as the postscripts and a set consisting of all radicals of the Tibetan subscripts is a null set, the other Tibetan radicals and the Tibetan subscripts can correspond to one storage unit.
[0055] Optionally, in the Tibetan input method provided by the embodiment of the present disclosure, the ambiguous layout rule conforms to the following Tibetan spelling grammar; for the convenience of subsequent description, 30 Tibetan consonants and 5 reverse scripts are respectively mapped to b1 to b35 representation symbols, 4 vowels are respectively mapped to English letters i, u, e, o, and l long vowel is mapped to an English letter a. The following table shows a mapping relation of the Tibetan characters and the representation symbols.
[0056] Mapping table of the Tibetan characters and the representation symbols
TABLE-US-00001 Tibetan Representation script symbol b.sub.1
b.sub.2
b.sub.3
b.sub.4
b.sub.5
b.sub.6
b.sub.7
b.sub.8
b.sub.9
b.sub.10
b.sub.11
b.sub.12
b.sub.13
b.sub.14
b.sub.15
b.sub.16
b.sub.17
b.sub.18
b.sub.19
b.sub.20
b.sub.21
b.sub.22
b.sub.23
b.sub.24
b.sub.25
b.sub.26
b.sub.27
b.sub.28
b.sub.29
b.sub.30
b.sub.31
b.sub.32
b.sub.33
b.sub.34
b.sub.35
[0057] Tibetan spelling grammar 1: elements in a set Root={b.sub.1, b.sub.2, b.sub.3, b.sub.4, b.sub.5, . . . . , b.sub.30, b.sub.31, b.sub.32, b.sub.33, b.sub.34, b.sub.35} respectively correspond to 30 Tibetan consonants and 5 Tibetan reverse scripts, and then any Tibetan character corresponding to b.sub.1. Root can constitute the radical of the Tibetan character.
[0058] Tibetan spelling grammar 2: for a set Prefix={b.sub.3, b.sub.11, b.sub.15, b.sub.16, b.sub.23}, Prefix Root, any Tibetan character corresponding to b.sub.i, Prefix, (j=3, 11, 15, 16, 23) can constitute the prescript of the Tibetan character.
[0059] Tibetan spelling grammar 3: for a set Suffix={b.sub.3, b.sub.4, b.sub.11, b.sub.12, b.sub.15, b.sub.16, b.sub.23, b.sub.25, b.sub.26, b.sub.28}, Suffix Root, any Tibetan character corresponding to b.sub.i, Suffix, (j=3, 4, 11, 12, 15, 16, 23, 25, 26, 28) can constitute the postscript of the Tibetan character.
[0060] Tibetan spelling grammar 4: for a set Postfix={b.sub.11, b.sub.28}, Postfix Suffix Root, any Tibetan character corresponding to b.sub.i, Postfix, (j=11, 28) can constitute a post-postscript of the Tibetan character.
[0061] Tibetan spelling grammar 5: for a set Superfix={b.sub.25, b.sub.26, b.sub.28}, Superfix Root, any Tibetan character corresponding to b.sub.i, Superfix, (j=25, 26, 28) can constitute the superscript of the Tibetan character.
[0062] Tibetan spelling grammar 6: for a set Subfix={b.sub.20, b.sub.24, b.sub.25, b.sub.26}, Subfix Root, any Tibetan character corresponding to b.sub.i, Subfix, (j=20, 24, 25, 26) can constitute the subscript of the Tibetan character.
[0063] Tibetan spelling grammar 7: for a set Vowel=Vowel1{a}, Vowel1={i, u, e, o} corresponds to 4 Tibetan vowels, and a represents the Tibetan long vowel. The Tibetan radicals corresponding to b.sub.j, Root, (j=1, 23, 5, 7, . . . 33, 34, 35) can be spelled with the vowels corresponding to v, Vowel, u and a can only be spelled below the consonants, and the rest 3 vowels can only be spelled above the consonants.
[0064] Tibetan spelling grammar 8: when the Tibetan radicals corresponding to b.sub.j, Root, (j=1, 3, 4, 5, 7, 8, 9, 11, 12, 13, 15, 16, 17, 19, 29) are spelled with the superscripts corresponding to b.sub.i, Superfix, (i=25, 26, 28), the following grammar rules must be satisfied:
[0065] 1. b.sub.j, Root, (j=1, 3, 4, 7, 8, 9, 11, 12, 15, 16, 17, 19) can only be spelled with b.sub.25, Superfix.
[0066] 2. b.sub.j, Root, (j=1, 3, 4, 5, 7, 9, 11, 13, 15, 29) can only be spelled with b.sub.26, Superfix.
[0067] 3. b.sub.j, Root, (j=1, 3, 4, 8, 9, 11, 12, 13, 15, 16, 17) can only be spelled with b.sub.28, Superfix.
[0068] Tibetan spelling grammar 9: when the Tibetan radicals corresponding to b.sub.j, Root, (j=1, 2, 3, 8, 9, 10, 11, 13, 14, 15, 16, 18, 21, 22, 25, 26, 27, 28, 29) are spelled with the subscripts corresponding to b.sub.i, Subfix, (i=20, 24, 25, 26), the following grammar rules must be satisfied: [0069] 1. b.sub.j, Root, (j=1, 2, 3, 8, 11, 18, 21, 22, 25, 26, 27, 29) can only be spelled with b.sub.m
[0070] Subfix.
[0071] 2. b.sub.j, Root, (j=1, 2, 3, 13, 14, 15, 16) can only be spelled with b.sub.24, Subfix.
[0072] 3. b.sub.j, Root, (j=1, 2, 3, 9, 10, 11, 13, 14, 15, 16, 28, 29) can only be spelled with b.sub.25,
Subfix.
[0073] 4. b.sub.j, Root, (j=1, 3, 15, 22, 25, 28) can only be spelled with b.sub.26, Subfix.
[0074] 5. b.sub.j, Root, (j=29) can only be spelled with b.sub.14, Subfix.
[0075] (Note: to spell the [f] phonetic symbol in other languages, b.sub.29 and b.sub.14 spelling forms occur in the modern Tibetan. According to the traditional Tibetan spelling grammar, b.sub.29 cannot be used as the superscript, and b.sub.14 cannot be used as the subscript neither, therefore, as a special condition, when b.sub.29 is spelled with b.sub.14, b.sub.14 is deemed as the “subscript”.)
[0076] Tibetan spelling grammar 10: when the Tibetan radicals corresponding to b.sub.i, Root, (i=1, 3, 12, 13, 15, 16, 17) are simultaneously spelled with the superscripts corresponding to b.sub.j, Superfix, (j=25, 28) and the subscripts corresponding to b.sub.k, Subfix, (k=20, 24, 25), the following grammar rules must be satisfied:
[0077] 1. When being spelled with b.sub.25, Superfix, b.sub.1, Root can be simultaneously spelled with b.sub.24, Subfix; and when being spelled with b.sub.28, Superfix, b.sub.1, Root can be simultaneously spelled with b.sub.k, Subfix, (k=24, 25).
[0078] 2. When being spelled with b.sub.25, Superfix, b.sub.3, Root can be simultaneously spelled with b.sub.24, Subfix; and when being spelled with b.sub.28, Superfix, b.sub.3, Root can be simultaneously spelled with b.sub.k, Subfix, (k=24, 25).
[0079] 3. When being spelled with b.sub.28, Superfix, b.sub.12, Root can be simultaneously spelled with b.sub.25, Subfix.
[0080] 4. When being spelled with b.sub.28, Superfix, b.sub.13, Root can be simultaneously spelled with b.sub.k, Subfix, (k=24, 25).
[0081] 5. When being spelled with b.sub.28, Superfix, b.sub.15, Root can be simultaneously spelled with b.sub.k, Subfix, (k=24, 25).
[0082] 6. When being spelled with b.sub.25, Superfix, b.sub.16, Root can be simultaneously spelled with b.sub.24, Subfix; and when being spelled with b.sub.28, Superfix, b.sub.16, Root can be simultaneously spelled with b.sub.k, Subfix, (k=24, 25).
[0083] 7. When being spelled with b.sub.25, Superfix, b.sub.17, Root can be simultaneously spelled with b.sub.20, Subfix.
[0084] Tibetan spelling grammar 11: when the Tibetan radicals corresponding to b.sub.i, Root, (i=1, 3, 4, 7, 8, 9, 11, 12, 17, 19) are simultaneously spelled with the prescripts corresponding to b.sub.15, Prefix and the superscripts corresponding to b.sub.j, Superfix, (j=25, 26, 28), the following grammar rules must be satisfied:
[0085] 1. b.sub.i, Root, (i=1, 3, 4, 7, 8, 9, 11, 12, 17, 19) can be spelled with b.sub.25, Superfix.
[0086] 2. b.sub.i, Root, (i=9,11) can be spelled with b.sub.26, Superfix.
[0087] 3. b.sub.i, Root, (i=1, 3, 4, 8, 9, 11, 12, 17) can be spelled with b.sub.28, Superfix.
[0088] Tibetan spelling grammar 12: when the Tibetan radicals corresponding to b.sub.i, Root, (i=1, 2, 3, 11, 13, 14, 15, 16, 22, 25, 28) are simultaneously spelled with the prescripts corresponding to b.sub.j, Prefix, (j=11, 15, 16, 23) and the subscripts corresponding to b.sub.k, Subfix, (k=20, 24, 25, 26), the following grammar rules must be satisfied:
[0089] 1. b.sub.i, Root, (i=1, 3, 13, 15, 16) can be spelled with b.sub.11, Prefix and b.sub.24, Subfix.
[0090] 2. b.sub.i, Root, (i=1, 3, 13, 15) can be spelled with b.sub.11, Prefix and b.sub.25, Subfix.
[0091] 3. b.sub.i, Root, (i=1, 3) can be spelled with b.sub.15, Prefix and b.sub.24, Subfix.
[0092] 4. b.sub.i, Root, (i=1, 3, 28) can be spelled with b.sub.15, Prefix and b.sub.25, Subfix.
[0093] 5. b.sub.i, Root, (i=1, 22, 25, 28) can be spelled with b.sub.15, Prefix and b.sub.26, Subfix.
[0094] 6. b.sub.i, Root, (i=2, 3) can be spelled with b.sub.16, Prefix and b.sub.k Subfix, (k=24,25).
[0095] 7. b.sub.i, Root, (i=2, 3, 14, 15) can be spelled with b.sub.23, Prefix and b.sub.24, Subfix.
[0096] 8. b.sub.i, Root, (i=2, 3, 11, 14, 15) can be spelled with b.sub.23, Prefix and b.sub.25, Subfix.
[0097] Tibetan spelling grammar 13: when the Tibetan radicals corresponding to b.sub.i, Root, (i=1, 3) are spelled with the prescripts corresponding to b.sub.15, Prefix, the superscripts corresponding to b.sub.j, Superfix, (i=25, 28) and the subscripts corresponding to b.sub.k, Subfix, (i=24, 25), the following grammar rules must be satisfied:
[0098] 1. b.sub.i, Root, (i=1, 3) can be spelled with b.sub.15, Prefix, b.sub.25, Superfix and b.sub.24, Subfix.
[0099] 2. b.sub.i, Root, (i=1, 3) can be spelled with b.sub.15, Prefix, b.sub.28, Superfix and b.sub.25, Subfix.
[0100] 3. b.sub.i, Root, (i=1, 3) can be spelled with b.sub.15, Prefix, b.sub.28, Superfix and b.sub.24, Subfix.
[0101] Tibetan spelling grammar 14: when being spelled with the prescripts corresponding to b.sub.j, Prefix, (j=3, 11, 15, 16, 23), the Tibetan radicals corresponding to b.sub.i, Root, (i=1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 22, 24, 27, 28) must be simultaneously spelled with the vowels corresponding to v. Vowel, Vowel={i, u, e, o}, or one postscript corresponding to b.sub.k, Suffix, (k=3, 4, 11, 12, 15, 16, 23, 25, 26, 28), and the following grammar rules must be satisfied:
[0102] 1. b.sub.i, Root, (i=5, 8, 9, 11, 12, 17, 21, 22, 24, 27, 28) can only be spelled with b.sub.3, Prefix.
[0103] 2. b.sub.i, Root, (i=1, 3, 4, 13, 15, 16) can only be spelled with b.sub.11, Prefix.
[0104] 3. b.sub.i, Root, (i=1, 3, 5, 9, 11, 17, 21, 22, 27, 28) can only be spelled with b.sub.15, Prefix.
[0105] 4. b.sub.i, Root, (i=2, 3, 4, 6, 7, 8, 10, 11, 12, 18, 19) can only be spelled with b.sub.16, Prefix.
[0106] 5. b.sub.i, Root, (i=2, 3, 6, 7, 10, 11, 14, 15, 18, 19) can only be spelled with b.sub.23, Prefix.
[0107] Tibetan spelling grammar 15: the Tibetan radicals corresponding to b.sub.j, Root, (j=1, 2, 3, 4, 5, 6, 7, 8, 9, 10, . . . , 21, 22, 23, 24, 25, 26, 27, 28, 29, 30) can be spelled with any postscript corresponding to b.sub.i, Suffix, (i=3, 4, 11, 12, 15, 16, 23, 25, 26, 28).
[0108] Tibetan spelling grammar 16: the use of the Tibetan post-postscripts is only related to the postscripts. The Tibetan postscripts corresponding to b.sub.i, Suffix, (i=3, 4, 12, 15, 16, 25, 26) can be spelled with the post-postscripts corresponding to b.sub.j, Postfix, (j=11, 28), and the following grammar rules must be satisfied:
[0109] 1. b.sub.11, Postfix can only be spelled with b.sub.i, Suffix, (i=12, 25, 26).
[0110] 2. b.sub.28, Postfix can only be spelled with b.sub.i, Suffix, (i=3, 4, 15, 16).
[0111] Tibetan spelling grammar 17: when being spelled with the Tibetan subscripts corresponding to b.sub.j, Subfix, (j=24, 25), the Tibetan radicals corresponding to b.sub.i, Root, (i=3, 11, 14) can be simultaneously spelled with the Tibetan subscripts corresponding to b.sub.20, Subfix. The specific rules are as follows:
[0112] 1. when being spelled with b.sub.25, Subfix, b.sub.i, Root, (i=3, 11) can be simultaneously spelled with b.sub.20, Subfix.
[0113] 2. When being spelled with b.sub.24, Subfix, b.sub.14, Root can be simultaneously spelled with b.sub.20, Subfix.
[0114] Tibetan spelling grammar 18: the Tibetan consonants corresponding to b.sub.29, Root can be spelled with the Tibetan consonants corresponding to b.sub.14, Root, and b.sub.14, Root is correspondingly located below b.sub.29, Root.
[0115] Tibetan spelling grammar 19: when being spelled with the Tibetan consonants corresponding to b.sub.14, Root, the Tibetan consonants corresponding to b.sub.29, Root can be simultaneously spelled with the Tibetan postscripts corresponding to b.sub.i, Suffix, (i=3, 4, 11, 12, 15, 16, 23, 25, 26, 28).
[0116] Tibetan spelling grammar 20: the Tibetan characters having no postscript can be spelled with the Tibetan consonants corresponding to b.sub.23, Root, and at this time, the Tibetan consonants corresponding to b.sub.23, Root must be spelled with the vowels (i, e, u, o) corresponding to v Vowel, Vowel={i, u, e, o}.
[0117] Tibetan spelling grammar 21: except the special spelling in the grammars 17, 18, 19 and 20, the Tibetan characters are spelled according to the sequence of the prescripts, the superscripts, the radicals, the subscripts, the vowels, the postscripts and the post-postscripts.
[0118] Specifically, to satisfy the ambiguous layout rule, the layout of the input module of the Tibetan input device can be shown in correspond to one storage unit, the Tibetan consonant
and the Tibetan vowel
correspond to one storage unit, the Tibetan consonant
and the Tibetan vowel
correspond to one storage unit, the Tibetan consonant
and the Tibetan vowel
correspond to one storage unit, the Tibetan consonant
and the Tibetan subscript
correspond to one storage unit, the Tibetan consonant
and the Tibetan subscript
correspond to one storage unit, the Tibetan consonant
and the Tibetan subscript
correspond to one storage unit, and the Tibetan consonant
and the Tibetan subscript
correspond to one storage unit. The Tibetan subscript
is deformed into
when being written; the Tibetan subscript
is deformed into
when being written; and the Tibetan subscript
is deformed into
when being written.
[0119] At this time, as shown in , the Tibetan subscript
, the Tibetan consonant
, the Tibetan vowel
, the Tibetan consonant
, the Tibetan vowel
, the Tibetan consonant
, the Tibetan vowel
, the Tibetan consonant
, the Tibetan subscript
, the Tibetan consonant
, the Tibetan subscript
, the Tibetan consonant
, the Tibetan subscript
, the Tibetan consonant
, and the Tibetan subscript
, each Tibetan character corresponds to one storage unit.
[0120] To input an instruction, in the Tibetan input system provided by the embodiment of the present disclosure, the input module is further used by the user for inputting the instruction;
[0121] the storage unit further stores an instruction character, and the instruction character includes one or more of a control character Ctrl, an alternate shift character Alt, a shift conversion character Shift, a carriage return character Enter, a backspace character Backspace, a tab character Tab and a capslock character Capslock; and
[0122] the processing device is further used for obtaining the instruction character corresponding to the input key according to the keyboard definition module when the user inputs the instruction through the input key, and executing the instruction corresponding to the instruction character.
[0123] To input Chinese, English and other characters, the Tibetan input module can switch Tibetan input, Chinese input and English input through the keys, as well as switching through the instruction, and this is not limited herein.
[0124] The layout of the input keys of the input module in the Tibetan input system provided by the embodiment of the present disclosure can be shown in
[0125] In the embodiment, when the user needs to input characters beyond the pre-combined Tibetan characters stored in the Tibetan font, the processing device may not determine the target pre-combined Tibetan character, at this time, the processing device can prompt the user about all possible character combinations, and then input the characters beyond the pre-combined Tibetan characters stored in the Tibetan font according to the indication of the user.
[0126] The present disclosure has the following beneficial effects: when the user inputs the
[0127] Tibetan characters through the input keys, the initial Tibetan characters corresponding to the input keys are obtained according to the keyboard definition module; and the target pre-combined Tibetan character is determined according to the initial Tibetan characters and the Tibetan font, and then is output. According to the technical solutions provided by the embodiment of the present disclosure, when each storage unit stores a plurality of Tibetan characters, the preset ambiguous layout rule is satisfied, therefore the input module has no redundant code and repeated code, and only 6 very common Tibetan characters correspond to the shift key. Thus, the following problems in the prior art are solved: when one Tibetan character corresponds to one key position, although the Tibetan input method has no repeated code, it contains a large number of redundant codes, namely dead keys; when one Tibetan character corresponds to a plurality of key positions, although it is easy to remember, there are repeated codes; and when a plurality of common Tibetan characters correspond to the shift key position of the keyboard, although there is no repeated code, a large number of shift key positions are present, so the Tibetan input efficiency is relatively low.
Second Embodiment
[0128] As shown in
[0129] Step 401, whether a plurality of preset input keys are pressed down is detected.
[0130] In the embodiment, the distribution mode of the plurality of input keys can be shown in
[0131] Step 402, when the input keys are pressed down, initial Tibetan characters corresponding to the input keys are obtained according to a preset keyboard definition module.
[0132] In the embodiment, the structure and the function of the keyboard definition module are similar to those as shown in
[0133] Optionally, in the Tibetan input method provided by the embodiment of the present disclosure, the Tibetan consonant and the Tibetan subscript
correspond to one storage unit, the Tibetan consonant
and the Tibetan vowel
correspond to one storage unit, the Tibetan consonant
and the Tibetan vowel
correspond to one storage unit, the Tibetan consonant
and the Tibetan vowel
correspond to one storage unit, the Tibetan consonant
and the Tibetan subscript
correspond to one storage unit, the Tibetan consonant
and the Tibetan subscript
correspond to one storage unit, the Tibetan consonant
and the Tibetan subscript
correspond to one storage unit, and the Tibetan consonant
and the Tibetan subscript
correspond to one storage unit. No repetition will be given herein one by one.
[0134] Step 403, a target pre-combined Tibetan character is determined according to the initial Tibetan characters and a preset Tibetan font, and then is output.
[0135] In the embodiment, the process of determining the target pre-combined Tibetan character in the step S403 includes: judging whether one or a plurality of initial Tibetan characters exist; when one initial Tibetan character exists, using the initial Tibetan character as the target pre-combined Tibetan character and outputting the target pre-combined Tibetan character; when a plurality of initial Tibetan characters exist, obtaining the Tibetan characters that are input in front of or behind the initial Tibetan characters, searching the Tibetan font according to the Tibetan characters that are input in front of or behind the initial Tibetan characters and the initial Tibetan characters, determining the target pre-combined Tibetan character from the plurality of initial Tibetan characters, and outputting the target pre-combined Tibetan character.
[0136] In the embodiment, when the user needs to input characters beyond the pre-combined Tibetan characters stored in the Tibetan font, the processing device may not determine the target pre-combined Tibetan character, at this time, the processing device can prompt the user about all possible character combinations, and then input the characters beyond the pre-combined Tibetan characters stored in the Tibetan font according to the indication of the user.
[0137] The present disclosure has the following beneficial effects: when the user inputs the Tibetan characters through the input keys, the initial Tibetan characters corresponding to the input keys are obtained according to the keyboard definition module; and the target pre-combined Tibetan character is determined according to the initial Tibetan characters and the Tibetan font, and then character is output. According to the technical solutions provided by the embodiment of the present disclosure, when each storage unit stores a plurality of Tibetan characters, the preset ambiguous layout rule is satisfied, therefore the input module has no redundant code and repeated code, and only 6 very common Tibetan characters correspond to the shift key. Thus, the following problems in the prior art are solved: when one Tibetan character corresponds to one key position, although the Tibetan input method has no repeated code, it contains a large number of redundant codes, namely dead keys; when one Tibetan character corresponds to a plurality of key positions, although it is easy to remember, there are repeated codes; and when a plurality of common Tibetan characters correspond to the shift key position of the keyboard, although there is no repeated code, a large number of shift key positions are present, so the Tibetan input efficiency is relatively low.
[0138] The order of the above embodiments is only for the purpose of convenient description, and does not represent the advantages and disadvantages of the embodiments.
[0139] Finally, it should be noted that the above embodiments are merely used for illustrating, rather than limiting the technical solutions of the present disclosure; although the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they could still make modifications to the technical solutions recorded in the foregoing embodiments or make equivalent substitutions to a part of technical features therein; and these modifications or substitutions do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present disclosure.