Summary of the invention
In view of this, the embodiment of the present application provides a kind of pronunciation inputting method, can when phonetic entry, eliminate the interference that other inputs cause phonetic entry.
To achieve these goals, the technical scheme that the application provides is as follows:
A pronunciation inputting method, comprising:
In carrying out Information Inputting Process, detect and start phonetic entry and character input method while having started, shield described character input method.
Preferably, described phonetic entry realizes phonetic entry by speech recognition system, the speech production voice input signal of described speech recognition system identification input, described in detect and start phonetic entry and comprise:
The startup of described speech recognition system detected.
Preferably, shielding described character input method comprises:
Close described character input method, or shield the word input signal that described character input method generates.
Preferably, shielding the input signal that described character input method generates comprises:
In carrying out the process of phonetic entry, receive described voice input signal and described word input signal simultaneously;
By described voice input signal and described word input signal prioritization, make the priority of described voice input signal higher than described word input signal;
By the high described voice input signal input of priority, realize the shielding to described word input signal.
Preferably, described speech recognition system comprises the lteral data storehouse that stores all words, all words in described lteral data storehouse have the corresponding relation with voice messaging, and the speech production voice input signal of described speech recognition system identification input, is specially:
Obtain voice messaging;
According to described voice messaging, determine the word corresponding with described voice messaging;
By the word output corresponding with described voice messaging, so that the word of output shows.
Preferably, described voice messaging has at least one corresponding word, and described method also comprises:
By all word outputs corresponding with described voice messaging.
Preferably, when by after all word output displays corresponding with described voice messaging,
Detect the word input signal of described character input method;
When described word input signal is direction input message and word confirmation, receive described direction input message and word confirmation, so that select correct word by described direction input message and described word confirmation from all words that show.
The application also provides a kind of speech input device, and described device comprises:
Control module, for carrying out Information Inputting Process, detects and starts phonetic entry and definite character input method while having started, and shields described character input method.
Preferably, described phonetic entry realizes phonetic entry by speech recognition system, and described control module detects beginning phonetic entry and comprises:
The startup of described speech recognition system detected.
Preferably, described control module shields described character input method and comprises:
Close described character input method, or shield the input signal that described character input method generates.
Preferably, described control module shields the input signal that described character input method generates, and specifically comprises:
Receiving element for the process carrying out phonetic entry, receives described voice input signal and described word input signal simultaneously;
Sequencing unit, by described voice input signal and described word input signal prioritization, makes the priority of described voice input signal higher than described word input signal;
Input block, by the high described voice input signal input of priority, realizes the shielding to described word input signal.
Preferably, described speech recognition system comprises the lteral data storehouse that stores all words, and all words in described lteral data storehouse have the corresponding relation with voice messaging, and the speech production voice input signal of described speech recognition system identification input, comprising:
Voice acquiring unit, for obtaining voice messaging;
Voice recognition unit, for determining the word corresponding with described voice messaging according to described voice messaging;
Output unit, for the word corresponding with described voice messaging exported, so that the word of output shows.
Preferably, described voice messaging has at least one corresponding word, described output unit specifically for:
By all word outputs corresponding with described voice messaging.
Preferably, when by after all word output displays corresponding with described voice messaging, described control module specifically comprises:
Detecting unit, for detection of the word input signal of described character input method;
Judging unit, for when described civilian input message is direction input message and word confirmation, receives described direction input message and word confirmation.
From above technical scheme, by the said method of the embodiment of the present application, when carrying out word input, if started phonetic entry, so in the situation that the character input method of other non-voices be activated again, by other character input method shieldings, make the content of input only to be the input of voice, avoided other character input methods, in phonetic entry, phonetic entry is caused to interference.
Embodiment
In order to make those skilled in the art person understand better the technical scheme in the application, below in conjunction with the accompanying drawing in the embodiment of the present application, technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only the application's part embodiment, rather than whole embodiment.Embodiment based in the application, those of ordinary skills are not making the every other embodiment obtaining under creative work prerequisite, all should belong to the scope of the application's protection.
The embodiment of the present application provides a kind of pronunciation inputting method, comprising:
Step 11 detects and starts to input voice when carrying out input information, and definite character input method is when started, and shields described character input method.
In the prior art, in the occasion that need to carry out word input, generally can be by key tap on keyboard, or showing screen display one soft keyboard, by the button on selection soft keyboard, realizing word and input, for example, thering is the computer of physical button or having on the mobile phone of physical button, while carrying out word input, user is by key tap on keyboard, and the button that character input method identification is knocked, realizes the input of word; When the enterprising style of writing word input of the smart mobile phone with touch-screen, be generally on screen, to show a virtual keyboard, by touch, select the button on dummy keyboard, realize word input.
But along with technical progress, can also realize word by voice inputs, user starts voice entry system, generally to press to start startup button corresponding to voice entry system, user speaks by microphone, and speech recognition system receives user's voice, identification user's voice, become word to show on screen user's speech conversion, and realize word input in the place that needs word input.But because user is when carrying out phonetic entry, the keyboard of equipment is all operable, if some word buttons are pressed, character input method in equipment still can receive keyboard input, realize word input, this will interfere with the content of phonetic entry, as user sends the sound of " 123 " by voice, user, carry out in the process of " 123 " phonetic entry, when having read " 2 ", user supresses the numeral " 4 " on button, so when completing phonetic entry, the word of input will become " 1243 ", will be by a part for the input generating character input on keyboard, obviously such keyboard input has interfered with normal phonetic entry.
In the embodiment of the present application, can start to input voice detecting, and definite character input method is when started, and shields described character input method.When user carries out phonetic entry, first determine that character input method starts, in computer, phonitic entry method is starting, after launch computer, if need to carry out word input, user just can realize input by knocking keyboard, if do not need word input, user presses word button less than input, the embodiment of the present application detects and starts to input voice and comprise the startup that speech recognition system detected, in this application, user is when needs carry out phonetic entry, can start speech recognition system, it can be the startup button of pressing speech recognition system, after having started speech recognition system, after speaking, user will realize the identification of voice, in fact, phonetic entry also can be considered as a kind of of input method, with other existing input methods, as English input method, Intelligent ABC input method is arranged side by side, when having started English input method, knock keyboard and can input corresponding English alphabet, when starting Intelligent ABC input method, knock keyboard and can carry out the combination of phonetic, realize Pinyin Input, started phonetic entry, will receive phonetic entry, realize the word input of voice, concrete speech recognition can realize by speech recognition system, the application repeats no more.
In thering is the smart mobile phone of touch-screen, when needs word is inputted, can on screen, show a virtual key, start input method simultaneously, if started English input method, with seemingly computer, knocking the input that realizes the English alphabet that button is corresponding after button, if started the spelling input method of Chinese character, after key tap, pass through phonetic Display of Chinese characters.In the embodiment of the present application, when needs carry out word input, if started phonetic entry, detect and start to input voice, now, by the character input method having started is shielded, the character input method having started can not be input to the word of generation in electronic equipment, make to only have phonetic entry to realize, thereby the issuable interference input of character input method is masked to the impact that while eliminating phonetic entry, word input causes.
For example, when having opened an input frame, user has selected to carry out word input, now can start character input method, the input that character input method can receive user is input to corresponding word in input frame, but because user has now started phonetic entry, in the situation that having determined that character input method has started, shielding character input method, even if the input that makes character input method receive user can not inputted in the situation that phonetic entry starts yet, make the input content in input frame only may be by phonetic entry, and the content of other input method inputs can be input in input frame, thereby the impact of having avoided other character input methods to cause phonetic entry.
By the application's said method, when carrying out word input, if started phonetic entry, so in the situation that having determined that other character input methods start, by other character input method shieldings, make the content of input only to be the input of voice, avoided other character input methods, in phonetic entry, phonetic entry is caused to interference, make phonetic entry can not be subject to the impact of other word inputs.
The input signal that shields described character input method generation in the embodiment of the present application comprises:
In carrying out the process of phonetic entry, receive described voice input signal and described word input signal simultaneously;
In the present embodiment, the input signal of shielding character input method can directly be closed character input method, can also shield the word input signal of character input method, if in phonetic entry, user has inputted word input signal by character input method unintentionally, voice input signal and word input signal can be received simultaneously.
By described voice input signal and described word input signal prioritization, make the priority of described voice input signal higher than described word input signal;
By the high described voice input signal input of priority, realize the shielding to described word input signal.
Received at the same time after word input signal and voice input signal, can carry out to different input signals the sequence of priority, in the present embodiment, need to input voice input signal, priority that can voice input signal is set to the highest, and the priority of the word input signal that character input method generates is lower, electronic equipment only receives the voice input signal that priority is higher, realized the shielding to word input signal, although character input method has also produced input signal, but because the priority of word input signal is lower, can not be received as effective input, eliminated the interference of word input to phonetic entry.
In the embodiment of the present application, described speech recognition system comprises the lteral data storehouse that stores all words, all words in described lteral data storehouse have the corresponding relation with voice messaging, and the speech production voice input signal of described speech recognition system identification input, is specially:
Obtain voice messaging;
According to described voice messaging, determine the word corresponding with described voice messaging;
By the word output corresponding with described voice messaging, so that the word of output shows.
Speech recognition system is by identification user's voice messaging, by voice messaging and corresponding word output display in lteral data storehouse, and because same pronunciation may corresponding a plurality of words, can be by a plurality of word output displays that identify.
Described voice messaging has at least one corresponding word, and described method also comprises:
By all word outputs corresponding with described voice messaging.
The embodiment of the present application by after all word output displays corresponding with described voice messaging, also comprises:
Detect the word input signal of described character input method;
When described word input signal is direction input message and word confirmation, receive described direction input message and word confirmation, so that select correct word by described direction input message and described word confirmation from all words that show;
When described word input signal is, while removing other input messages of described direction input message and word confirmation, to shield described word input signal.
Because same pronunciation can have the word of a plurality of correspondences, or same pronunciation has the word of the unisonance of a plurality of correspondences, electronic equipment is when same pronunciation has a plurality of corresponding word so, can not determine that user needs to input which word or word on earth, certainly, for some the conventional word that there is no ambiguity or words, can directly input, now just can be by after all word output displays corresponding with voice messaging, by user, selected again to need the word of input, and user just need to select the word needing by input direction in character input method when selecting, by word confirmation, determine word is inputted again, the direction input message of being undertaken by character input method like this and word confirmation can not conductively-closeds, the embodiment of the present application just can not shield these information when word input signal being detected and be direction input message and word confirmation, direction input message and word confirmation are identified as to effective input message, facilitate the user can be after phonetic entry, in a plurality of optional words, select the word needing.
The process of certain above-mentioned confirmation word can be also the word that directly selection needs, for example have on the equipment of touch-screen, the process of select target does not need by direction input message, only need to click by touch the word needing, the embodiment of the present application also can not shield the input signal of so definite word.But for example in intelligent television, when user selects the word of needs in a plurality of candidate characters, just need to control by the telepilot being associated with TV, by the direction key on telepilot and definite button, in a plurality of candidate characters, select the word needing, pass through said method, the embodiment of the present application can not shield such information of passing through direction key and definite key-press input yet, in phonetic entry, receive the special input of being undertaken by character input method, or when showing a plurality of candidate character, before each candidate character, indicate number designation, user by selecting number designation can be selected corresponding word.
The same numeral inputs of word input signal can also comprise the delete command being undertaken by character input method, above-mentioned selection word time that can conductively-closed etc., the word input signal of shielding is only the input that the meeting inputted by character input method exerts an influence to input content.
In the embodiment of the present application, detect and start to input voice and comprise the startup that speech recognition system detected.Particularly, carrying out phonetic entry meeting startup speech recognition system, as long as having started speech recognition system represents to carry out phonetic entry, even if now also do not loquitur, do not need the input of other character input methods yet, the startup of described speech recognition system now detected, and character input method is when started, and shields described character input method.In the present embodiment, after speech recognition system is started, will shield character input method, the issuable impact of character input method is just eliminated when starting phonetic entry, user can't speak when having started phonetic entry at once, if but now pressed other button, by character input method, produced input signal, also can be the shielding of the input signal of the character input method producing, make, carrying out interference and the impact that whenever can not be subject to character input method of phonetic entry, to make phonetic entry more convenient.
In the embodiment of the present application, shield described character input method and comprise and close described character input method, or shield the input signal that described character input method generates.Detect and start to input voice, and definite character input method is when started, and closes described character input method, or shielded the input signal that described character input method generates.Particularly, the startup of described speech recognition system detected, and definite character input method is when started, and closes described character input method, or has shielded the input signal that described character input method generates.When shielding character input method, the character input method having started directly can be closed, even if make user carry out key-press input, owing to not having character input method to receive key-press input, just can not produce word input signal yet, in the mobile phone input thering is touch-screen, when opening an input frame and need to input, started a character input method, can start entering method keyboard in touch screen display, now due to phonetic entry, need to shield character input method, entering method keyboard will be closed, make user not carry out the prerequisite of word input, just can not produce the interference input to phonetic entry yet.Although or do not close character input method, but the input signal that character input method is generated shielding, still take touch-screen mobile phone as example, when carrying out phonetic entry, the input method having started is not closed, but by the input signal shielding of its generation, be that user is when starting to input voice, the keyboard that character input method needs also can show on screen, user also can click keys, but now by the input signal shielding of character input method, even if user has clicked button, can not form word input yet, make without the character input method of closing other, still only can receive the information of phonetic entry, realized and eliminated the interference that other character input methods cause phonetic entry.
It should be noted that: the character input method in the application is the existing input method that needs click keys could realize word input, such as conventional English input method, search dog spelling input method, five-stroke input method etc.Phonetic entry in the embodiment of the present application is not need click keys to carry out input information.
The embodiment of the present application also provides a kind of speech input device, for phonetic entry, as shown in Figure 2, comprising:
Control module 100, for detecting and start to input voice when carrying out input information, and definite character input method is when started, and shields described character input method.
Described phonetic entry realizes phonetic entry by speech recognition system, and described control module detects and starts to input voice and comprise:
The startup of described speech recognition system detected.
Described control module shields described character input method and comprises:
Close described character input method, or shield the input signal that described character input method generates.
Described control module shields the input signal that described character input method generates, and specifically comprises:
Receiving element for the process carrying out phonetic entry, receives described voice input signal and described word input signal simultaneously;
Sequencing unit, by described voice input signal and described word input signal prioritization, makes the priority of described voice input signal higher than described word input signal;
Input block, by the high described voice input signal input of priority, realizes the shielding to described word input signal.
Described speech recognition system comprises the lteral data storehouse that stores all words, and all words in described lteral data storehouse have the corresponding relation with voice messaging, and the speech production voice input signal of described speech recognition system identification input, comprising:
Voice acquiring unit, for obtaining voice messaging;
Voice recognition unit, for determining the word corresponding with described voice messaging according to described voice messaging;
Output unit, for the word corresponding with described voice messaging exported, so that the word of output shows.
Described voice messaging has at least one corresponding word, described output unit specifically for:
By all word outputs corresponding with described voice messaging.
When by after all word output displays corresponding with described voice messaging, described control module specifically comprises:
Detecting unit, for detection of the word input signal of described character input method;
Judging unit, for when described civilian input message is direction input message and word confirmation, receives described direction input message and word confirmation.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
It should be noted that, the above is only a part of preferred embodiment of present techniques scheme, make those skilled in the art can fully understand or realize the application, rather than whole embodiment, General Principle as defined herein can be in the situation that do not depart from the application's spirit or scope, realization in other embodiments.Therefore; based on above embodiment; for those skilled in the art; do not depart from the application's principle, do not making under creative work prerequisite, can also make multiple apparent modification and retouching; the every other embodiment obtaining by these modifications and retouching; can be applied to present techniques scheme, these do not affect the application's realization, all should belong to the application's protection domain.Therefore, the application will can not be restricted to these embodiment shown in this article, but will accord with principle disclosed herein and features of novelty the widest consistent scope.
Above the application is described in detail, application herein can specific case be set forth the application's principle and embodiment, the explanation of above embodiment is just for helping to understand the application's method and core concept thereof, simultaneously, for one of ordinary skill in the art, the thought according to the application, all will change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the application.