# US 2003/0071833 A1 · System and method for generating and presenting multi-modal applications from intent-based markup scripts

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2003/0071833 A1
- Document ID: US20030071833A1
- Status: Published application
- Kind: A1
- Application number: 09/876,714
- Filed: 2001-06-07
- Published: 2003-04-17
- Earliest claimed: 2001-06-07
- Assignees: International Business Machines Corporation
- Inventors: Paul M. Dantzig; Robert Filepp; Yew-Huey Liu
- Web page: https://patentgrep.com/patent/US20030071833A1

## CPC

- G06F 3/038: Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods for rendering modality-independent scripts (e.g., intent-based markup scripts) in a multi-modal environment and, in particular, to a multi-modal user interface for an application, whereby the user can interact with the application using a plurality of modalities (e.g., speech and GUI). The multi-modal interface automatically synchronizes I/O events over the plurality of modalities presented. In one aspect, the system provides immediate, synchronized rendering of the modality-independent document in each of the supported modalities. In another aspect, the system provides deferred rendering and presentation of intent-based scripts to an end user, wherein the system comprises a transcoder for generating a speech markup language script (such as a VoiceXML document) from the modality-independent script and rendered (via, e.g., VoiceXML browser) at a later time.

## Claims

### Claim 1

A method for presenting an application in a plurality of modalities, comprising the steps of:
retrieving a modality-independent document from one of local and remote storage;
parsing the modality-independent document using parsing rules obtained from one of local or remote storage;
converting the modality-independent document to a first intermediate representation that can be rendered by a speech user interface modality;
converting the modality-independent document to a second intermediate representation that can be rendered by a GUI (graphical user interface) modality;
building a cross-reference table by which the speech user interface can access components comprising the second intermediate representation;
rendering the first and second intermediate representations in their respective modality; and
receiving a user input in one of the GUI and speech user interface modalities to enable multi-modal interaction and control the document presentation.

### Claim 2 (depends on 1)

The method of claim 1, wherein the GUI and speech user interface modalities are synchronized in the document presentation.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first intermediate representation is stored in local system memory for immediate rendering.

### Claim 4 (depends on 1)

The method of claim 1, wherein the step of converting the modality-independent document to the first intermediate representation comprises transcoding the modality-independent document to a speech markup script.

### Claim 5 (depends on 4)

The method of claim 4, wherein the step of rendering comprises the step of deferred rendering of the speech markup script.

### Claim 6 (depends on 4)

The method of claim 4, wherein the speech markup script is stored on a local persistent storage device.

### Claim 7 (depends on 4)

The method of claim 4, wherein the speech markup script comprises VXML (Voice eXtensible Markup Language).

### Claim 8 (depends on 1)

The method of claim 1, further comprising the step of executing an applications program when a corresponding event call occurs within the modality-independent document.

### Claim 9 (depends on 8)

The method of claim 8, wherein the step of executing an applications program comprises updating existing grammar rules with data values returned from the applications program.

### Claim 10 (depends on 8)

The method of claim 8, wherein the step of executing an applications program comprises updating content values associated with a component of the modality-independent document using data values returned from the applications program.

### Claim 11 (depends on 1)

The method of claim 1, further comprising the step of registering a program to be executed upon completion of a specified event.

### Claim 12 (depends on 1)

The method of claim 1, wherein the modality-independent document comprises an intent-based document.

### Claim 13 (depends on 1)

A program storage device readable by machine, tangibly embodying a program of instructions executable by the machine to perform the method steps of claim 1.

### Claim 14

A method for providing global help information when presenting a modality-independent document, the method comprising the steps of:
preparing an internal representation of a structure and component attributes of the modality-independent document;
building a grammar comprising rules for resolving specific spoken requests;
processing a spoken request utilizing the grammar rules; and
presenting an aural description of the modality-independent document in response to the spoken request.

### Claim 15 (depends on 14)

The method of claim 14, wherein the step of presenting an aural description of the modality-independent document comprises presenting one of document components, attributes, methods of interaction, and a combination thereof.

### Claim 16 (depends on 14)

A program storage device readable by machine, tangibly embodying a program of instructions executable by the machine to perform the method steps of claim 14.

### Claim 17

A method for providing contextual help information when presenting a modality-independent document, the method comprising the steps of:
preparing an internal representation of a structure and component attributes of the modality-independent document;
building a grammar comprising rules for resolving specific spoken requests;
processing a spoken request utilizing the grammar rules; and
presenting an aural description of the components, attributes, and methods of interaction of the modality-independent document in response to the spoken request.

### Claim 18 (depends on 17)

The method of claim 17, wherein the step of building a grammar comprises the step of combining values obtained from data stored in one of local storage, remote storage, and a combination thereof, with values obtained from an analysis of the modality-independent document.

### Claim 19 (depends on 17)

A program storage device readable by machine, tangibly embodying a program of instructions executable by the machine to perform the method steps of claim 17.

### Claim 20

A method for providing feedback information when presenting a modality-independent document, the method comprising the steps of:
preparing an internal representation of the structure and component attributes of the modality-independent document;
building a grammar comprising rules for resolving specific spoken requests;
processing a spoken request and resolving the spoken request utilizing the grammar rules;
obtaining state and value information regarding specified components of the document from the internal representation of the document; and
presenting an aural description of the content values associated with document components in response to the spoken request.

### Claim 21 (depends on 20)

The method of claim 20, wherein the step of building a grammar comprises the step of combining values obtained from data stored in one of local storage, remote storage, and a combination thereof, with values obtained from analysis of the document.

### Claim 22 (depends on 20)

A program storage device readable by machine, tangibly embodying a program of instructions executable by the machine to perform the method steps of claim 20.

### Claim 23

A method for aurally spelling out content values associated with components of a modality-independent document, the method comprising the steps of:
preparing an internal representation of a structure and component attributes of the modality-independent document;
building a grammar comprising rules for resolving specific spoken requests;
processing a spoken request utilizing the grammar rules;
obtaining state and content value information regarding specified components of the document from the internal representation of the document; and
presenting each character of the content value information requested in response to the spoken request.

### Claim 24 (depends on 23)

The method of claim 23, wherein the step of presenting each character of the content value information comprises the step of inserting pauses between each character of the content value information to be presented.

### Claim 25 (depends on 23)

The method of claim 23, wherein the step of building a grammar comprises the step of combining values obtained from data stored in one of local storage, remote storage, and a combination thereof, with values obtained from an analysis of the document.

### Claim 26 (depends on 23)

A program storage device readable by machine, tangibly embodying a program of instructions executable by the machine to perform the method steps of claim 23.

### Claim 27

A system for presenting an application in a plurality of modalities, comprising:
a multi-modal manager for parsing a modality-independent document to generate a traversal model that maps components of the modality-independent document to at least a first and second modality-specific representation;
a speech user interface manager for rendering and presenting the first modality-specific representation in a speech modality;
a GUI (graphical user interface) manager for rendering and presenting the second modality-specific representation in a GUI modality;
an event queue monitor for detecting GUI events;
an event queue for storing captured GUI events; and
a plurality of methods, that are called by the speech user interface manager, for synchronizing I/O (input/output) events across the speech and GUI modalities.

### Claim 28 (depends on 27)

The system of claim 27, wherein the methods for synchronizing I/O events comprise a first method for polling for the occurrence of GUI events in the event queue and a second method for reflecting speech events back to the GUI manager and posting speech events to the multi-modal manager.

### Claim 29 (depends on 27)

The system of claim 27, further comprising a method for invoking user-specified programs that are specified in the modality-independent document.

### Claim 30 (depends on 27)

The system of claim 27, wherein the multi-modal manager comprises a main renderer that instantiates the GUI manager, the speech user interface manager, and a method for capturing GUI events.

### Claim 31 (depends on 27)

The system of claim 27, wherein the speech user interface manager comprises JSAPI (java speech application program interface).

### Claim 32 (depends on 27)

The system of claim 27, wherein the speech user interface manager comprises a VoiceXML browser.

### Claim 33 (depends on 32)

The system of claim 32, further comprising a transcoder for generating a VoiceXML script from the modality-independent document.
