Method and system for character sequence checking according to a selected language
First Claim
1. A computer-readable storage medium containing computer-executable instructions which when executed by a computer perform the steps for checking a sequence of input characters, the steps comprising:
- determining whether a sequence checking feature operatively associated with a state transition table, containing allowable sequences of characters based on the rules of a selected language, is enabled, the sequence checking feature being set to operate by a registry entry setting set in the computer'"'"'s operating system'"'"'s registry, the registry entry setting being set in the computer'"'"'s operating system'"'"'s registry for each language requiring the sequence checking feature;
upon determining that the sequence checking feature is enabled;
receiving a first character of the sequence of input characters;
receiving a second character of the sequence of input characters;
determining whether the sequence of characters belongs to a set of characters comprising a selected language by determining that the state transition table includes a state transition from a first state to a second state, the state transition from the first state to the second state indicating that a sequential order of reception of the first character relative to reception of the second character is consistent with one valid sequence of a plurality of valid sequences of characters based on the rules of the selected language;
when the first character and the second character form a valid sequence of characters according to the rules associated with forming a complex character, displaying the complex character formed by a combination of the first character and the second character prior to accepting additional characters for display; and
when the first character and the second character do not form the at least one valid sequence of characters according to the rules associated with forming the complex character;
displaying the first character,preventing the display of the second character, andrequiring receipt of a third character as an alternate character prior to accepting additional characters for display.
1 Assignment
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 begin a valid sequence of characters, or if the input character may not be appended to a previously input sequence of characters according to the rules of the selected language, the newly input character may be prohibited from being displayed singularly or appended to the previous sequence and displayed on the user'"'"'s computer. Previously input character sequences may be edited by determining the sequence validity context of previously input sequences of characters.
18 Citations
19 Claims
-
1. A computer-readable storage medium containing computer-executable instructions which when executed by a computer perform the steps for checking a sequence of input characters, the steps comprising:
-
determining whether a sequence checking feature operatively associated with a state transition table, containing allowable sequences of characters based on the rules of a selected language, is enabled, the sequence checking feature being set to operate by a registry entry setting set in the computer'"'"'s operating system'"'"'s registry, the registry entry setting being set in the computer'"'"'s operating system'"'"'s registry for each language requiring the sequence checking feature; upon determining that the sequence checking feature is enabled; receiving a first character of the sequence of input characters; receiving a second character of the sequence of input characters; determining whether the sequence of characters belongs to a set of characters comprising a selected language by determining that the state transition table includes a state transition from a first state to a second state, the state transition from the first state to the second state indicating that a sequential order of reception of the first character relative to reception of the second character is consistent with one valid sequence of a plurality of valid sequences of characters based on the rules of the selected language; when the first character and the second character form a valid sequence of characters according to the rules associated with forming a complex character, displaying the complex character formed by a combination of the first character and the second character prior to accepting additional characters for display; and when the first character and the second character do not form the at least one valid sequence of characters according to the rules associated with forming the complex character; displaying the first character, preventing the display of the second character, and requiring receipt of a third character as an alternate character prior to accepting additional characters for display. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-readable storage medium containing computer-executable instructions which when executed by a computer perform the steps for checking a sequence of input characters, the steps comprising:
-
determining whether a sequence checking feature operatively associated with a state transition table, containing allowable sequences of characters based on the rules of a selected language, is enabled, the sequence checking feature being set to operate by a registry entry setting set in the computer'"'"'s operating system'"'"'s registry, the registry entry setting being set in the computer'"'"'s operating system'"'"'s registry for each language requiring the sequence checking feature; upon determining that the sequence checking feature is enabled; receiving a first character of the sequence of input characters; receiving a second character of the sequence of input characters; determining whether the sequence of characters belongs to a set of characters comprising a selected language by determining that a sequential order of reception of the first character relative to reception of the second character is consistent with at least one valid sequence of characters, said determining that the sequential order of reception of the first character relative to the reception of the second character is consistent with the at least one valid input of characters comprises; assigning a first state to the first character according to rules associated with the selected language, assigning a second state to the second character according to the rules, and determining that the state transition table includes a state transition from the first state to the second state, the state transition from the first state to the second state indicating that the sequential order of reception of the first character relative to reception of the second character is consistent with the at least one valid sequence of characters based on the rules of the selected language, said determining that the state transition table includes the state transition from the first state to the second state comprises determining that the state transition table includes a cell corresponding to a cross-reference of the first character and the second character, the cell not being blank and not including only type and replacement actions; when the first character and the second character form the at least one valid sequence of characters according to rules associated with forming a complex character, displaying the complex character formed by the first character and the second character prior to accepting additional characters for display; when the first character and the second character do not form the at least one valid sequence of characters according to the rules associated with forming the complex character; displaying the first character, prohibiting the display of the second character, and requiring receipt of a third character as an alternate character. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A method of establishing a sequence validation context of a sequence of characters forming at least a portion of a complex character, the method comprising:
-
determining, by a computer, whether a sequence checking feature operatively associated with a state transition table, containing allowable sequences of characters based on the rules of a selected language, is enabled, the sequence checking feature being set to operate by a registry entry setting set in a computer'"'"'s registry, the registry entry setting being set in the computer'"'"'s registry for each language requiring the sequence; upon determining that the sequence checking feature is enabled; determining, by the computer, whether the sequence of characters belongs to a set of characters comprising a selected language by beginning with a last character of the sequence of characters and determining whether the last character is valid as a complete sequence of characters comprising the complex character according to rules for forming the complex character, said determining whether the last character is valid as the complete sequence of characters comprises determining that the state transition table includes a state transition from the first state to the second state, the state transition from the first state to the second state indicating that a sequential order or reception of the first character relative to reception of the second character is consistent with at least one valid sequence of characters; when the last character of the sequence of characters is not valid as a complete sequence of characters comprising the complex character, determining, by the computer, whether a combination of the last character and a character input immediately to the left of the last character is valid as the complete sequence of characters comprising the complex character; when the combination is not valid as the complete sequence of characters comprising the complex character, then creating, by the computer, subsequent combinations of characters by adding one character at a time to the left of the last subsequent combination and determining whether each new combination after each added character is valid as the complete sequence of characters comprising the complex character until the at least one valid sequence of characters is found for forming the complex character according to the rules for forming the complex character; and when the at least one valid sequence of characters is found for forming the complex character according to the rules for forming the complex character, returning, on the computer, a context for the combination as the context for the complex character. - View Dependent Claims (17, 18, 19)
-
Specification