6. A method according to claim 2 , further comprising automatically: for each element, assigning at least one class to the element, wherein each of the at least one class is assigned to the element based at least in part based on the contents of the element; and for each row, assigning a class to the row, wherein the class is assigned to the row based at least in part on the classes assigned to the elements of the row.
6. A method according to claim 2 , further comprising automatically: for each element, assigning at least one class to the element, wherein each of the at least one class is assigned to the element based at least in part based on the contents of the element; and for each row, assigning a class to the row, wherein the class is assigned to the row based at least in part on the classes assigned to the elements of the row. 7. A method according to claim 6 , wherein defining the second speech-recognition grammar comprises, for each row, defining a trigger grammar and a filter grammar based at least in part on the class of the row.