Method and system for automatic type and replace of characters in a sequence of characters
First Claim
1. A method of combining a new character with an existing sequence of characters, wherein the existing sequence of characters forms at least a portion of a complex character, and where adding the new character sequentially to the existing sequence of characters violates one or more rules associated with forming a complex character of a selected language, comprising the steps of:
- receiving the new character for appending sequentially to the sequence of characters;
determining whether the new character may be appended sequentially to the sequence of characters according to the rules of forming a complex character of the selected language;
if the new character may not be appended sequentially to the sequence of characters according to the rules of forming a complex character of the selected language, determining whether the new character may be inserted between two characters of the sequence of characters to form a valid sequence according to the rules of forming a complex character of the selected language; and
if the new character may be inserted between two characters of the sequence of characters, inserting the new character between the two characters.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for checking the validity of a sequence of input characters according to the syntactical rules of a selected language is provided. If an input character may not be appended to the previously input sequence according to the rules of the selected language, the newly input character may be prohibited from being appended to the sequence and displayed on the user'"'"'s computer. Previously input and validated characters automatically may be replaced with a newly input character for formation and display of a valid sequence of characters containing the newly input character. A newly input character may be inserted between two characters of a previously validated sequence of characters. Previously input character sequences may be edited by determining the validity context of previously input sequences of characters.
60 Citations
16 Claims
-
1. A method of combining a new character with an existing sequence of characters, wherein the existing sequence of characters forms at least a portion of a complex character, and where adding the new character sequentially to the existing sequence of characters violates one or more rules associated with forming a complex character of a selected language, comprising the steps of:
-
receiving the new character for appending sequentially to the sequence of characters;
determining whether the new character may be appended sequentially to the sequence of characters according to the rules of forming a complex character of the selected language;
if the new character may not be appended sequentially to the sequence of characters according to the rules of forming a complex character of the selected language, determining whether the new character may be inserted between two characters of the sequence of characters to form a valid sequence according to the rules of forming a complex character of the selected language; and
if the new character may be inserted between two characters of the sequence of characters, inserting the new character between the two characters. - View Dependent Claims (2, 3, 4, 5, 6, 7)
if the new character may not be inserted between two characters of the sequence of characters, determining whether an existing character in the sequence of characters may be replaced by the new character so that the combination of the new character and other characters in the sequence of characters form a valid sequence according to the rules of forming a complex character of the selected language;
if an existing character in the sequence of characters may be replaced by the new character, replacing the existing character with the new character; and
if an existing character in the sequence of characters may not be replaced by the new character, discarding the new character.
-
-
3. The method of claim 1,
wherein the step of determining whether the new character may be inserted between two characters of the sequence of characters to form a valid sequence according to the rules of forming a complex character of the selected language includes the steps of: -
in a state transition table, assigning a first state to the existing sequence of characters according to the rules associated with forming a complex character of the selected language;
determining whether the new character is associated with a character insertion transition action that dictates where within the existing sequence of characters the new character may be inserted.
-
-
4. (Amended) The method of claim 2,
wherein the step of determining whether an existing character in the sequence of characters may be replaced by the new character so that the combination of the new character and other characters in the sequence of characters form a valid sequence according to the rules of forming a complex character of the selected language includes the steps of: -
in a state transition table, assigning a first state to the existing sequence of characters according to the rules associated with forming a complex character of the selected language;
determining whether the new character is associated with a character replacement transition action that dictates which character within the existing sequence of characters may be replaced by the new character.
-
-
5. The method of claim 2, wherein the selected language is Thai.
-
6. The method of claim 2, wherein the selected language is Hindi.
-
7. The method of claim 2, wherein the selected language is Vietnamese.
-
8. A computer-readable medium on which is stored a computer program for combining a new character with an existing sequence of characters, wherein the existing sequence of characters forms at least a portion of a complex character, and where adding the new character sequentially to the existing sequence of characters violates one or more rules associated with forming a complex character of a selected language, the computer program comprising instructions, which when executed by a computer, perform the steps of:
-
receiving the new character for appending sequentially to the sequence of characters;
determining whether the new character may be appended sequentially to the sequence of characters according to the rules of forming a complex character of the selected language;
if the new character may not be appended sequentially to the sequence of characters according to the rules of forming a complex character of the selected language, determining whether the new character may be inserted between two characters of the sequence of characters to form a valid sequence according to the rules of forming a complex character of the selected language;
if the new character may be inserted between two characters of the sequence of characters, inserting the new character between the two characters;
if the new character may not be inserted between two characters of the sequence of characters, determining whether an existing character in the sequence of characters may be replaced by the new character so that the combination of the new character and other characters in the sequence of characters form a valid sequence according to the rules of forming a complex character of the selected language;
if an existing character in the sequence of characters may be replaced by the new character, replacing the existing character with the new character; and
if an existing character in the sequence of characters may be replaced by the new character, discarding the new character. - View Dependent Claims (9, 10)
wherein the step of determining whether the new character may be inserted between two characters of the sequence of characters to form a valid sequence according to the rules of forming a complex character of the selected language includes the steps of: in a state transition table, assigning a first state to the existing sequence of characters according to the rules associated with forming a complex character of the selected language;
determining whether the new character is associated with a character insertion transition action that dictates where within the existing sequence of characters the new character may be inserted.
-
-
10. The computer-readable medium of claim 9,
wherein the step of determining whether an existing character in the sequence of characters may be replaced by the new character so that the combination of the new character and other characters in the sequence of characters form a valid sequence according to the rules of forming a complex character of the selected language includes the steps of: in a state transition table, assigning a first state to the existing sequence of characters according to the rules associated with forming a complex character of the selected language.
-
11. A method of checking a sequence of input characters according to rules of forming a complex character of a selected language and for combining a new character with an existing sequence of characters, wherein the existing sequence of characters forms at least a portion of a complex character, and where adding the new character sequentially to the existing sequence of characters violates one or more rules associated with forming a complex character of a selected language, comprising the steps of:
-
receiving a first character;
receiving a second character;
determining whether the second character may be added sequentially to the first character according to rules associated with forming a complex character of the selected language;
if the second character may be added sequentially to the first character according to the rules associated with forming a complex character of the selected language, adding the second character sequentially to the first character;
if the second character may not be added sequentially to the first character according to the rules associated with forming a complex character of the selected language, prohibiting adding the second character to the first character;
determining whether the first character may be replaced by the second character to allow a third character to be added to the second character according to the rules associated with forming a complex character of the selected language;
if the first character may be replaced by the second character, replacing the first character with the second character;
if the first character may not be replaced by the second character, prohibiting replacing the first character with the second character;
determining whether the second character may be inserted before the first character to allow a third character to be added sequentially to the first character according to the rules associated with forming a complex character of the selected language;
if a second character may be inserted before the first character to allow a third character to be added sequentially to the first character according to the rules associated with forming a complex character of the selected language, inserting the second character before the first character; and
if the second character may not be inserted before the first character to allow a third character to be added sequentially to the first character, discarding the second character. - View Dependent Claims (12, 13, 14)
-
-
15. A system of combining a new character with an existing sequence of characters, wherein the existing sequence of characters forms at least a portion of a complex character, and where adding the new character sequentially to the existing sequence of characters violates one or more rules associated with forming a complex character of a selected language, comprising:
-
a computer program module operative to receive the new character for appending sequentially to the sequence of characters;
to determine whether the new character may be appended sequentially to the sequence of characters according to the rules of forming a complex character of the selected language;
if the new character may not be appended sequentially to the sequence of characters according to the rules of forming a complex character of the selected language, to determine whether the new character may be inserted between two characters of the sequence of characters to form a valid sequence according to the rules of forming a complex character of the selected language;
if the new character may be inserted between two characters of the sequence of characters, to insert the new character between the two characters;
if the new character may not be inserted between two characters of the sequence of characters, to determine whether an existing character in the sequence of characters may be replaced by the new character so that the combination of the new character and other characters in the sequence of characters form a valid sequence according to the rules of forming a complex character of the selected language;
if an existing character in the sequence of characters may be replaced by the new character, to replace the existing character with the new character; and
if an existing character in the sequence of characters may not be replaced by the new character, to discard the new character. - View Dependent Claims (16)
-
Specification