Share via


Voice user interface and VuiController

The design of Dragon Medical SpeechKit is centered on the concept of a document or form that a user can modify via voice using the app's voice user interface (VUI).

The design is structured according to the model-view-controller (MVC) pattern:

  • The app's GUI (a window/dialog/view with text fields/edit controls in the respective technology) is in the view role.
  • The representation of the form’s text fields with their textual content on the speech recognition servers is in the model role.
  • The VuiController is in the controller role.

VuiController interaction with the application GUI

Note

The app itself can realize an MVC pattern with different controller and model implementations – in this case the app’s GUI components are where the two MVC implementations interact to exchange data.

The VuiController is responsible for these key aspects:

  • It connects the model's text fields to the GUI's edit controls.

    The lifetime of the VuiController and the model are related and, as a consequence, the lifetime of the VuiController instance should usually be tied to the lifetime of the corresponding GUI element.

  • It manages the app's voice commands.

    As a consequence, the app can realize a pure 'command mode' by creating a VuiController that isn't connected to any GUI elements.

Note

When a VuiController is closed or destroyed, the latest state of the text in the GUI is uploaded to the server and used for learning from corrections the user applied to misrecognized words. For more information on adaptation, see: User profile adaptation.