An information processing apparatus inputs a document having a plurality of input
fields, and displays it using a display control item. The apparatus then determines
whether or not one of the plurality of input fields is designated by the user.
Specific grammar corresponding to the designated input field is selected from a
grammar holding unit for holding a plurality of types of grammar, and the selected
grammar is used in a speech recognition process.