A kind of stroke input methodTechnical field
The present invention relates to a kind of pictograph stroke input technology.What be particularly related to is, on the keypad of less than 26 keys, commonly used have a numeric keypad, a kind of stroke input word or method of multiword continuously of solving.This keyboard can be the keypad of physical button keyboard, virtual touch keyboard or other form.
Background technology
Along with the development of mechanics of communication, the development that portable computing machine is also at full speed, it is more and more littler to become, but how to realize man-machine information interaction fast, needs better input technology to support.For pictograph, when using stroke input method, stroke is abundant, needs keystroke repeatedly, can not reach requirement fast especially; When using spelling input method, pictograph, for example there is a large amount of phonetically similar words in Chinese, thereby can produce a large amount of repeated codes with the phonetic input on keypad, and the user needs loaded down with trivial details page turning to search, and can not import fast equally.For solving the difficulty of pictograph in input, input method adopts the way that enlarges the input unit, as word, phrase even sentence, reduces repeated code.The word input is a qualitative leap of pictograph input, and is more obvious for spelling input method especially.Because in pictograph, though a large amount of existence of phonetically similar word, the quantity of homonym is extremely limited.Adopt the word spelling input method not only once to import a plurality of literal but also generation repeated code seldom.
In the input of pictograph individual character, stroke input method should more be better than the phonetic input, because hieroglyphic basic stroke is few, the memory button position only with 5 or 8, more meets people's thinking simultaneously when input as Chinese character easily, and is more directly perceived.But the stroke of word input faces a bottleneck always, fails as phonetic widely-usedly, mainly is exactly the cutting problem between the literal.The phonetic input has natural sound parent structure, computing machine can realize identification and cutting automatically, but the cutting of stroke input must be cutting by the collateral key people.The people will have several limitations for cutting, because general Chinese-character stroke number is more, if all import cutting again, obviously can not reach purpose fast.Preceding strokes or preceding strokes that some word input methods are imported each word for this worried directly regulation of solution user add back one, but this rigid regulation is not suitable for the form of enriching of Chinese character, the stroke number difference of each word is very big, have one also have tens.Address this problem, realize stroke word input fast, also will be in the input of the word of stroke user's freedom also, promptly can not allow the user go input and slow-down according to set rule, can not allowing the user go to hesitate me, that what will import on earth is just suitable.This method is exactly the freedom of going back the user in the stroke input of word, solves the greatest problem of word stroke input.
Summary of the invention
For a kind of pictograph, adopt spelling input method to have too many repeated code, and stroke input method is concerning the pictograph input, when input and user's thinking more unified, directly perceived, need not pictograph be converted into phonetic letter as phonetic.Method of the present invention is exactly to fully take into account people in thinking, the custom of input during pictograph, proposes a kind of more random, stroke input method freely.The present invention proposes a kind of user when using the word stroke input method, can be at each word of input cutting character list entries behind the stroke number arbitrarily.Step of the present invention is:
(1) basic stroke according to literal is provided with a plurality of stroke keys, imports sign indicating number outside each pictograph stroke according to the order of strokes observed in calligraphy on the stroke key, and the stroke number of each literal input can be imported arbitrarily;
(2) key is set as blank character outside the basic stroke key, comes cutting with blank character between the outer sign indicating number of each literal;
(3) text index of comparison list entries and database, the alphabetic character sequence that obtains being complementary;
(4) show the word sequence that obtains at the display candidate regions;
(5) in word sequence, search target text, screen in the affirmation.
The present invention at first defines the basic stroke key one by one on keypad, pictograph generally is made up of several basic strokes, as Chinese character, can be divided into " Dian,, Shu, Pie, Ya " 5, perhaps 8, just hieroglyphic basic stroke quantity seldom, can accomplish stroke of a key fully, be highly suitable on the keypad and import.According to the stroke of word literal, according to the order of strokes observed in calligraphy input of literal, the stroke quantity of each literal input is not limit, at a code that the literal input finishes and imports with the blank character cutting of word.In the reality input, the user can do a preliminary judgement according to the situation of wanting input characters, when a strokes of characters can be imported the 1-2 pen more for a long time, to reduce the repeated code that may occur, what make target word maximum possible appears at preferred acquiescence hurdle or candidate bar; A simple literal, stroke seldom can completely be imported, since the literal that the processor acquiescence is fully preferred and the outer sign indicating number of input is complementary, the input stroke number of word before and after can reducing like this.In addition, when the user in input time, the input status of candidate bar dynamic tracking input field, the user can be according to the situation decision input stroke number of candidate bar candidate, particularly import under the situation that stroke is few or repeated code is many at previous word, the practicality very of this method, we can import the stroke of a back word more, appear at candidate bar or give tacit consent to preferred hurdle until candidate, and need not return the stroke that increases first word or go page by page go thumb, how many pages or leaves can not appear not knowing to turn over yet, can find the situation of target text, even this determinacy needs many input 1-2 keys, but but exempt the too much thinking of user, hesitate, can in actual input process, improve the friendliness of input speed and raising input method greatly.
The stroke that may occur a back word in the input process target word of all being totally lost does not still appear at candidate bar, then page turning is searched, if after word finishes, still do not have this target word, there is not this word in explanation in character library, the user can be word for word selection, finish input after, the computing machine current input operation of memory automatically, the data of this speech are kept at database, and import same word again and will preferentially be presented at candidate bar next time.
Except that the above-mentioned stroke key that must be provided with, space key, options button, acknowledgement key, as a complete input method, also need symbolic key, collateral keies such as input method switch key.
Description of drawings
Fig. 1 is a kind of keyboard ofChinese character 5 strokes input.
Fig. 2 is word input example.
Fig. 3 is word input example.
Fig. 4 is word input example.
Fig. 5 is word input example.
Fig. 6 is word input example.
Fig. 7 is word input example.
Fig. 8 is word input example.
Fig. 9 is word input example.
Figure 10 is word input example.
Embodiment
1, on a kind of keypad of less than 26 keys, imports pictograph, basic stroke according to this literal is provided with some stroke keys, a separator is set beyond the stroke key, 1-5 options button or acknowledgement key are set in addition, for realizing that importing compatibility with other modes also can be provided with other necessary collateral keies as required.In addition, computing machine comprises a data processor, a database and a display that stores word, word or phrase.
2, Fig. 1 is a kind of keyboard setting ofChinese character 5 strokes input, and the 1-5 key is the stroke key, and 6-0 can be set to radical key, * key is the input method switch key, and short is blank character by the # key, and the long # key of pressing ejects punctuation mark, up and down arrow keys is a page turning key, and the left and right directions key is a word selection key, and the ok key is an acknowledgement key.
3, with on above-mentioned keyboard with the input Chinese character " data " be example, press separator " # " after at first seeing the first stroke " 4 " of only importing " number ", then input " according to " stroke, in candidate bar " data " this word has appearred, as shown in Figure 2 when being input to " 4#12151 ".
4, see cutting " 43# " behind preceding two of input " number " again, when input " according to " stroke during to " 43#121 ", " data " appear at candidate bar, as shown in Figure 3; At this moment " data " also are not in preferred default location, can continue the input " according to " stroke, when being input to " 43#1215 ", " data " have arrived default location, as shown in Figure 4.
5, also can import cutting " 431# " after first three of " number ", when input " according to " stroke during to " 431#121 ", " data " have appeared at the default location of candidate bar, as shown in Figure 5.
6, stroke number word seldom can completely be imported, and as " workman ", after the complete input " 121#34 ", " workman " appears at the acquiescence preferential position, and processor is given tacit consent to the preferential position that is in that mates fully, as shown in Figure 6.If imperfect input because the stroke number very little, a large amount of repeated codes will occur, and the word processor that all are complementary can be arranged according to frequency of utilization, if the target text frequency is low, need be turned over multipage and just can find.If " workman " be input " 12#34 " only, candidate bar does not have " workman " this word, needs page turning to search.
7, when needs inputs as name etc. do not belong to the multiword sequence of word, we can as input " Li Ping ", according to word input method input " 1234521#14312 ", word for word select to go up to shield, as shown in Figure 7 then according to the method input of word input.Computing machine can be remembered this time to operate after input, and " Li Ping " deposited in term database, and during by " 12#143 ", " Li Ping " appears at the word candidate bar, as shown in Figure 8 when importing for the second time.
8, this method is convenient equally when input multiword word or phrase, and for example input " let " as long as import " 5#1#1 ", " letting down " occurred at the preferred default location of candidate bar, as shown in Figure 9.Input " losing more than gain ", as long as input " 3#1#3#3 ", " losing more than gain " just appears at candidate bar, as shown in figure 10.