15. A computer-implemented method comprising: receiving and processing, in a processor-based dialog system, utterances from a speaker and generating synthetic speech outputs as responses to the utterances using a plurality of dialog modules of the dialog system, the plurality of dialog modules including a first dialog module coupled to provide an output to a second dialog module; receiving a task flow defining a set of tasks for a human agent control over real-time collection of dialog data for the speaker, a starting task, and relationships among the tasks; generating a script that comprises a formal description of the task flow to automatically generate a graphical user interface, the script generating a plurality of tags defining parameters of the tasks and one or more elements of the automatically generated graphical user interface, the graphical user interface including templates for control of the dialog modules and real-time collection of dialog data for the speaker, the task flow comprising prompts for helping the human agent guide the speaker through a dialog using the dialog system; automatically detecting, using a processor of the processor-based dialog system, an abnormal output of the first dialog module when the first dialog module is processing the utterances in an automatic mode and outputting a signal indicating the abnormal output; automatically generating the graphical user interface for the human agent upon detection of the signal, wherein the graphical user interface is generated by execution of a script defining a formal description of the task flow, wherein the graphical user interface comprises a plurality of display panels including a first panel configured to allow the human agent to control the synthetic speech or text outputs, and a second panel configured to display at least a portion of the task flow; allowing the human agent to control the first dialog module through the graphical user interface by correcting the abnormal output; and transferring a corrected output to the second dialog module, wherein the corrected output is used in further processing the utterances.
15. A computer-implemented method comprising: receiving and processing, in a processor-based dialog system, utterances from a speaker and generating synthetic speech outputs as responses to the utterances using a plurality of dialog modules of the dialog system, the plurality of dialog modules including a first dialog module coupled to provide an output to a second dialog module; receiving a task flow defining a set of tasks for a human agent control over real-time collection of dialog data for the speaker, a starting task, and relationships among the tasks; generating a script that comprises a formal description of the task flow to automatically generate a graphical user interface, the script generating a plurality of tags defining parameters of the tasks and one or more elements of the automatically generated graphical user interface, the graphical user interface including templates for control of the dialog modules and real-time collection of dialog data for the speaker, the task flow comprising prompts for helping the human agent guide the speaker through a dialog using the dialog system; automatically detecting, using a processor of the processor-based dialog system, an abnormal output of the first dialog module when the first dialog module is processing the utterances in an automatic mode and outputting a signal indicating the abnormal output; automatically generating the graphical user interface for the human agent upon detection of the signal, wherein the graphical user interface is generated by execution of a script defining a formal description of the task flow, wherein the graphical user interface comprises a plurality of display panels including a first panel configured to allow the human agent to control the synthetic speech or text outputs, and a second panel configured to display at least a portion of the task flow; allowing the human agent to control the first dialog module through the graphical user interface by correcting the abnormal output; and transferring a corrected output to the second dialog module, wherein the corrected output is used in further processing the utterances. 20. The method of claim 15 , wherein the plurality of dialog modules are selected from a group consisting of a dialog manager module, a language understanding module, a response generator module, a speech recognizer module, a text-to-speech module, a knowledge manager module, and an application manager module.