Composing a message in an online textbox using a non-latin script
AssigneeYahoo! Inc.
InventorBrian Bouta
Life of this patent
Estimating the term…
Abstract
A method and an apparatus are provided for composing a message in an online textbox using a non-Latin script. In one example, the method includes receiving a selection of a target language for composing the message in the online textbox, loading a hash table and an integer n that are associated with the target language, adding to a queue a character inputted from a QWERTY keyboard, and applying appropriate parsing and mapping techniques to the queue using the hash table and the integer n to display an appropriate script of the target language.
Claims19
A method for composing a message in an online textbox using a non-Latin script, the method comprising:
- receiving a selection of a target language for composing the message in the online textbox;
- loading a hash table and an integer n that are associated with the target language, the hash table comprises a plurality of entries mapping at least one character of a first language to at least one character of the target language, the integer n comprises a maximum number of characters to add to a queue;
- receiving an input comprising a character of the first language;
- adding to the queue the received character of the first language by determining a number of characters in the queue, if the number of characters in the queue is more than n, then removing at least one character from the queue in a first-in and first-out manner and adding the received character to the end of the queue;
- and
- parsing the queue by using the hash table to map the queue to an entry in the hash table.
An apparatus, comprising at least one processor and memory, for composing a message in an online textbox using a non-Latin script, the apparatus being configured for:
- receiving a selection of a target language for composing the message in the online textbox;
- loading a hash table and an integer n that are associated with the target language, the hash table comprises a plurality of entries mapping at least one character of a first language to at least one character of the target language, the integer n comprises a maximum number of characters to add to a queue;
- receiving an input comprising a character of the first language;
- adding to the queue the received character of the first language by determining a number of characters in the queue, if the number of characters in the queue is more than n, then removing at least one character from the queue in a first-in and first-out manner and adding the received character to the end of the queue;
- and
- parsing the queue by using the hash table to map the queue to an entry in the hash table.
A non-transitory computer readable medium carrying one or more instructions for composing a message in an online textbox using a non-Latin script, wherein the one or more instructions, when executed by one or more processors, cause the one or more processors to perform the steps of:
- receiving a selection of a target language for composing the message in the online textbox;
- loading a hash table and an integer n that are associated with the target language, the hash table comprises a plurality of entries mapping at least one character of a first language to at least one character of the target language, the integer n comprises a maximum number of characters to add to a queue;
- receiving an input comprising a character of the first language;
- adding to the queue the received character of the first language by determining a number of characters in the queue, if the number of characters in the queue is more than n, then removing at least one character from the queue in a first-in and first-out manner and adding the received character to the end of the queue;
- and
- parsing the queue by using the hash table to map the queue to an entry in the hash table.
Dependencies are inferred from the claim text.