An annotating system aids a user in mapping a large number of queries to
tasks to obtain training data for training a search component. The
annotating system includes a query log containing a large quantity of
queries which have previously been submitted to a search engine. A task
list containing a plurality of possible tasks is stored. A machine
learning component processes the query log data and the task list data.
For each of a plurality of query entries corresponding to the query log,
the machine learning component suggests a best guess task for potential
query-to-task mapping as a function of the training data. A graphical
user interface generating component is configured to display the
plurality of query entries in the query log in a manner which associates
each of the displayed plurality of query entries with its corresponding
suggested best guess task.