This invention relates in general to multilingual input and, more particularly, to an apparatus and method for adapting a virtual keyboard for multilingual input.
Computers are increasingly used to perform various linguistic transformations, such as translation, transcription, transliteration, speech recognition, and speech synthesis. However, various algorithmic limitations often prevent exact transformations from being generated in all situations. Errors in linguistic transformations are simply inevitable and cause severe degradation in accuracy and performance.
One solution is to let users edit or modify the output and hence remove errors. Keyboards are often not available on a handheld device such as a personal data assistant or mobile telephone. Furthermore, physical keyboards are often not easily re-labeled to correspond with a new keyboard mapping which may be required to support multiple languages with, for example, different alphabets.
Hence, it is common to use virtual keyboards (also known as soft keyboards). These are software-implemented representations of keyboards which are displayed on a screen and from which users may then select, for example, characters. However, current multilingual input systems require the use of a hotkey to select which language should be displayed on the virtual keyboard. This hotkey-based language switching is very inconvenient and annoying to the users. For example, in speech-to-speech translation, user dialogues are frequently switched between a source language and the target language. It is thus cumbersome to have to manually change the keyboard layout every time the input language changes. Furthermore, such soft keyboards may visually overlap with a graphical user interface of a linguistic transformation program and may block some useful information, especially with the small screen size typical of handheld devices.
Thus, there is a need for improved techniques for adapting a virtual keyboard for multilingual input which permit display of an appropriate virtual keyboard upon detection of an input language.
Principles of the invention provide improved techniques for adapting a virtual keyboard for multilingual input.
By way of example, in one aspect of the present invention, a method of adapting a virtual keyboard for multilingual input includes the steps of identifying an input language and displaying a virtual keyboard corresponding to the input language upon identification of the input language. The identifying step may include automatic identification of an input language, such as by one or more language identification modules, or it may include manual selection of an input language and activation of at least one linguistic transformation module corresponding to the input language upon selection of the input language.
In another aspect of the present invention, a method of adapting a virtual keyboard for multilingual input includes the steps of identifying an input language, obtaining an input, determining an end of the input, and displaying a virtual keyboard corresponding to the input language upon the end of the input for use in an edit of the input. The displaying step may also include the steps of detecting an end of the edit and removing the virtual keyboard upon the end of the edit.
Advantageously, principles of the invention provide improved techniques for adapting a virtual keyboard for multilingual input which permit updating of a virtual keyboard so as to minimize user inconvenience and maximize the utilization of screen space.
These and other objects, features and advantages of the present invention will become apparent from the following detailed description of illustrative embodiments thereof, which is to be read in connection with the accompanying drawings.
In describing the preferred embodiments, reference will be made to automatic language identification.
These scores are collected by a scorekeeping module 140, which will analyze the scores 130 generated by the LID modules 120 to identify an input language. This may include determining whether any of the LID modules 120 has output a score 130 equivalent to a binary “true,” indicating that a language has been identified. It may also include determining which LID module has output the highest score, i.e., has determined the highest probability that the input is in a language which it is configured to identify. The scorekeeping module may be configured to only consider a language to have been identified if the language if the highest score exceeds some threshold, e.g., 90%, and/or if the highest score exceeds at least one other score by a certain level, e.g., is 10% higher than the next-highest score. These measures will prevent rapid oscillation of the detected language at the beginning of an input due to incomplete data. In step 150, the detected language is output. As discussed in further detail below, a virtual keyboard corresponding to the input language will be displayed responsive to this detection of an input language.
In step 240, the system identifies Arabic speech (e.g., via automatic language identification, such as that described with reference to
This exemplary method for speech-to-speech translation represents only an illustrative example of a method with which the techniques of the present invention may be used. For example, a text-to-text translation system may alternate directly between the layouts shown in
Section 420 displays a virtual keyboard configured for input in the English language. For example, the keyboard displays keys corresponding to the English alphabet and in an order that corresponds to the order of letters in the English alphabet. It should be noted that other arrangements of keys may be utilized with the present invention, e.g., QWERTY or AZERTY. The system may determine that the user has finished with editing and is ready to resume input by, for example, automatically that editing has ended (e.g., by a timeout or a sentinel value) or by receiving user input, such as by one or more of buttons 431 and 432.
For example, display 500 does not include a virtual keyboard; however, in an embodiment where the input includes text rather than speech, a virtual keyboard may be present and used during the input stage. The system may determine that the user has finished with input and is ready to edit either by automatically detecting that input has ended (e.g., by a timeout or a sentinel value) or by receiving user input, such as by one or more of buttons 531 and 532.
Section 620 displays a virtual keyboard configured for input in the Arabic language. For example, the keyboard displays keys corresponding to the Arabic alphabet and in an order that corresponds to the order of letters in the Arabic alphabet. It should be noted that other arrangements of keys may be utilized with the present invention. The system may determine that the user has finished with editing and is ready for further input and/or generation of output by, for example, detecting that editing has ended (e.g., by a timeout or a sentinel value) or by receiving user input, such as by one or more of buttons 631 and 632.
The methodologies of the invention may be particularly well-suited for use in an electronic device or alternative system. For example,
It is to be appreciated that the term “processor” as used herein is intended to include any processing device, such as, for example, one that includes a central processing unit (CPU) and/or other processing circuitry (e.g., digital signal processor (DSP), microprocessor, etc.). Additionally, it is to be understood that the term “processor” may refer to more than one processing device, and that various elements associated with a processing device may be shared by other processing devices. The term “memory” as used herein is intended to include memory and other computer-readable media associated with a processor or CPU, such as, for example, random access memory (RAM), read only memory (ROM), fixed storage media (e.g., a hard drive), removable storage media (e.g., a diskette), flash memory, etc. Furthermore, the term “I/O circuitry” as used herein is intended to include, for example, one or more input devices (e.g., keyboard, mouse, etc.) for entering data to the processor, and/or one or more output devices (e.g., printer, monitor, etc.) for presenting the results associated with the processor.
Accordingly, an application program, or software components thereof, including instructions or code for performing the methodologies of the invention, as described herein, may be stored in one or more of the associated storage media (e.g., ROM, fixed or removable storage) and, when ready to be utilized, loaded in whole or in part (e.g., into RAM) and executed by processor 710. In any case, it is to be appreciated that at least a portion of the components shown in the above figures may be implemented in various forms of hardware, software, or combinations thereof, e.g., one or more DSPs with associated memory, application-specific integrated circuit(s), functional circuitry, one or more operatively programmed general purpose digital computers with associated memory, etc. Given the teachings of the invention provided herein, one of ordinary skill in the art will be able to contemplate other implementations of the components of the invention.
Although illustrative embodiments of the present invention have been described herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various other changes and modifications may be made by one skilled in the art without departing from the scope or spirit of the invention.
The present application claims the benefit of U.S. Provisional Application No. 60/841,814, filed Sep. 1, 2006, incorporated by reference herein. The present application is related to U.S. patent application identified by Attorney Docket No. YOR920060634US2 (entitled “Enhanced Linguistic Transformation”), filed concurrently herewith and incorporated by reference herein.
The present invention was made with Government support under Contract No. NBCH2030001 awarded by the Defense Advanced Research Projects Agency (DARPA). The Government has certain rights in this invention.
Number | Date | Country | |
---|---|---|---|
60841814 | Sep 2006 | US |