Composing a message in an online textbox using a non-latin script
First Claim
Patent Images
1. 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.
6 Assignments
0 Petitions
Accused Products
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.
-
Citations
19 Claims
-
1. 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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. 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. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. 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.
-
Specification