An improved system and method for providing context information of
executable code to an input method is provided. Advanced text input
methods may be made aware of the type of text expected to be received as
input so that input methods may achieve a higher accuracy in recognition
of text input. Generic interfaces provide a framework for supporting
application authoring platforms to allow application developers to easily
specify context information to the system and have it reliably forwarded
to the correct input methods. Additionally, a context tagging tool may
associate specific text input fields of an existing application with an
input scope without modifying the application itself. The context tagging
tool may create a manifest that contains tags associating the specific
text input fields with an input scope. Any advanced input methods use by
the application may be updated with instructions for accessing the
context information stored in the manifest.