Method and system for applying input mode bias
First Claim
1. A computer system for applying mode bias to an input field of an electronic document of an application, the system comprising:
- a mark-up language schema registry in communication with the application, wherein the mark-up language schema registry comprises a schema database and a grammar database, wherein the schema database comprises a plurality of schema names and a plurality of pointers to the grammar database associated with the plurality of schema names, the grammar database comprising a plurality of grammars, wherein the plurality of grammars comprise a first grammar associated with a union of data from a plurality of user data sources, the union of data from the plurality of user data sources being a context free grammar built from a union of a contacts list, a global address book, and a list of first and last names; and
an input engine in communication with the mark-up language schema registry, wherein the mark-up language schema registry is configured to;
receive a schema name based on a hierarchical analysis of a textual input to the input field from the application,locate a corresponding grammar from among the plurality of grammars comprising one of;
a regular expression and a statistical language model, the corresponding grammar having a language setting and a locale setting, and the corresponding grammar being associated with the schema name, andsend the corresponding grammar to the input engine, wherein the corresponding grammar defines an appropriate input for the input field, and wherein the schema in the mark-up language schema registry is associated with the corresponding grammar by one of;
referring to the corresponding grammar directly, mapping to the corresponding grammar, and encoding the corresponding grammar within the schema.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for applying input mode bias is disclosed. A schema is applied to an input field of an electronic document. The schema is associated with a grammar that defines the set of acceptable strings that may be input into the input field. When text is input into the input field, the schema is determined and the associated grammar is determined. The grammar is then sent to the input method. Based on the grammar, the input method may determine what text the user is trying to enter. The grammar may also be used to apply semantic categories to text input into a document. After the text is entered it is compared to a grammar. If the entered text matches the form of the grammar, then the schema is applied to the text as a semantic category.
-
Citations
25 Claims
-
1. A computer system for applying mode bias to an input field of an electronic document of an application, the system comprising:
-
a mark-up language schema registry in communication with the application, wherein the mark-up language schema registry comprises a schema database and a grammar database, wherein the schema database comprises a plurality of schema names and a plurality of pointers to the grammar database associated with the plurality of schema names, the grammar database comprising a plurality of grammars, wherein the plurality of grammars comprise a first grammar associated with a union of data from a plurality of user data sources, the union of data from the plurality of user data sources being a context free grammar built from a union of a contacts list, a global address book, and a list of first and last names; and an input engine in communication with the mark-up language schema registry, wherein the mark-up language schema registry is configured to; receive a schema name based on a hierarchical analysis of a textual input to the input field from the application, locate a corresponding grammar from among the plurality of grammars comprising one of;
a regular expression and a statistical language model, the corresponding grammar having a language setting and a locale setting, and the corresponding grammar being associated with the schema name, andsend the corresponding grammar to the input engine, wherein the corresponding grammar defines an appropriate input for the input field, and wherein the schema in the mark-up language schema registry is associated with the corresponding grammar by one of;
referring to the corresponding grammar directly, mapping to the corresponding grammar, and encoding the corresponding grammar within the schema. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A computer system for applying mode bias to an input field of an electronic document of an application, the system comprising:
-
a mark-up language schema registry in communication with the application, the mark-up language schema registry operable to point to code for dynamically generating a plurality of grammars, wherein the plurality of grammars are used to define an appropriate input for the input field, wherein each mark-up language schema in the registry is associated with a corresponding grammar by one of;
referring to the corresponding grammar directly and mapping to the corresponding grammar, and encoding the corresponding grammar within the schema, and wherein the plurality of grammars comprise;a first grammar associated with a union of data from a plurality of user data sources, the union of data from the plurality of user data sources being a context free grammar built from a union of a contacts list, a global address book, and a list of first and last names, a second grammar built exclusively from a contents list of the contacts list, a third grammar built exclusively from a contents list of the global address list, a fourth grammar associated with regular expressions, and a fifth grammar associated with statistical language models; an input engine in communication with the mark-up language schema registry, wherein the mark-up language schema registry receives a schema name from the application through a text service framework, locates an identifier of the corresponding grammar among the plurality of grammars associated with the schema name and sends the located identifier of the corresponding grammar to the input engine, wherein the input engine uses at least one of the plurality of grammars to bias input from a user of the application toward a correctly formatted input, wherein if the input engine determines that the input of the user does not match an appropriate input, then the input engine recommends an alternate input, wherein the input engine is at least one of the following;
a speech recognition engine, a handwriting recognition engine, an input method editor, a phone keypad, a gesture-based input method, a keyboard, and a sign language recognition engine; anda recognizer library in communication with the application, wherein the recognizer library is configured to apply a semantic category to the textual input.
-
-
21. A computer-implemented method for applying mode bias to an input field of an electronic document of an application program module, the method comprising:
-
determining that an insertion point is within the input field; determining a mode bias schema that is attached to the input field, wherein the determination of the mode bias schema uses a ranked list of mode bias schemas; dynamically generating a plurality of grammars based on the input field and a mark-up language schema registry, wherein the plurality of grammars define an appropriate input for the input field, wherein each of the plurality of grammars has a language setting and a locale setting and is associated with a schema name, and wherein the plurality of grammars comprise; a first grammar associated with a union of data from a plurality of user data sources, the union of data from the plurality of user data sources being a context free grammar built from a union of a contacts list, a global address book, and a list of first and last names, a second grammar built exclusively from a contents list of the contacts list, a third grammar built exclusively from a contents list of the global address list, a fourth grammar associated with regular expressions, and a fifth grammar associated with statistical language models; determining an appropriate grammar from the generated plurality of grammars that is associated with the mode bias schema; and sending the appropriate grammar associated with the mode bias schema to an input engine wherein the input engine uses the appropriate grammar associated with the mode bias schema to receive the appropriate input for the input field. - View Dependent Claims (22, 23, 24, 25)
-
Specification