Patent ID: 7778816

Claim:
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, and send 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.