1 david thomson the search for a dialog metalanguage that makes everybody happy david thomson chair,...

27
1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

Upload: anissa-sherman

Post on 30-Dec-2015

217 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

1 David Thomson

The Search for a Dialog Metalanguage that Makes Everybody Happy

David ThomsonChair, VoiceXML Tools Committee,SpeechPhone CTO

Page 2: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

2 David Thomson

SpeechPhoneMandi™

Automated Attendant Service

What would you like to do?

Check my voicemail.

Change my greeting.

Dial a number.

Call Michael Metcalf.

Check my e-mail. Enable call

screening

Change my virtual extension.

Page 3: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

3 David Thomson

VoiceXML Tools Committee

•Sponsored by the VoiceXML Forum

•Objective: Make VoiceXML easier to deploy

Page 4: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

4 David Thomson

VoiceXML Service

ApplicationServer

DevelopmentTools

VoiceXMLBrowser

Metalanguage VoiceXML

DeveloperUser

Page 5: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

5 David Thomson

Two Working Groups

Data Logging Working Group

• Format for service observation, etc.

• Used to track and improve user interface.

Metalanguage Working Group

• Format for a complete speech application

• Includes database, system interface, platform, …

Page 6: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

6 David Thomson

Metalanguage Motivation

Problem

Applications written with Vendor X’s tools will

not run on Application Server from Vendor Y.

Solution

Define a uniform format for representing a

complete application

ApplicationServer

DevelopmentTools

VoiceXMLBrowser

Metalanguage VoiceXML

Page 7: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

7 David Thomson

Current Active Participants

AT&TChrysalisEmpirixFrance TelecomGenesysIBMIEEE-ISTOIntel

Intervoice LumenvoxNuanceOracleSpeechPhoneUnisysWest

Page 8: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

8 David Thomson

Metalanguage Requirements

•Completely defines the application

•Platform independent

•XML

•Compatible with and uses existing standards

(CCXML, SCXML, V3, etc.)

•Supports advanced dialogs

•Not generated dynamically (usually)

Page 9: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

9 David Thomson

Service Provider

I don’t want to be tied to a single vendor.

Page 10: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

10 David Thomson

Developers (1)

The metalanguage should be efficient and expressive.

Page 11: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

11 David Thomson

Developers (2)

I don’t want to give up my old languages and tools.

Page 12: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

12 David Thomson

User Interface Researchers

The metalanguage should be able to support advanced dialogs -- once we figure how how to implement them.

Page 13: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

13 David Thomson

Development Managers

Writing applications should not require a PhD.

Page 14: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

14 David Thomson

Product Manager

I want the service running ASAP.

Page 15: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

15 David Thomson

Computer Scientists

The language should be elegant and incorporate the latest software methods.

Page 16: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

16 David Thomson

Development Tool Vendor

The metalanguage should work with my special sauce.

Page 17: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

17 David Thomson

Standards Organizations

The metalanguage shouldn’t try to replace V3 capabilities.

What’s in V3?

It’s a secret.

Page 18: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

18 David Thomson

Attorneys

We want the metalanguage available royalty-free.

We need to protect our intellectual property.

Page 19: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

19 David Thomson

Application Server (not Browser) Functions

• Call control• Database access• Business logic• Billing• Back-end systems/transaction servers• Complex ASR/semantic analysis (dialog

analysis, checksums, context processing, …)• Advanced dialogs• OAM&P• Platform-specific functions

Page 20: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

20 David Thomson

Use Case – Benchmark for Proposals

Boston

What date?

(baby crying)

You usually fly to Boston on Tuesdays. Do you want to fly this Tuesday?

Please say the date.

What?

What is your departure city?

Page 21: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

21 David Thomson

Current Design Under Study

•Modular with optional elements

•State based

•Incorporates existing standards

•SCXML for control

•Extension tags inside VoiceXML

•Tags are not limited to VoiceXML capabilities

•Tags may be rendered in Java or other language

Page 22: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

22 David Thomson

<scxml> <vxml>

VXML Code

</vxml> …</scxml>

Extension Tags

DatabaseTransaction servers, webpages, humans, etc.

<scxml> <vxml> <tagX> </tagX> </vxml> …</scxml>

TagInterpretationEngine

VXML +SCXML

Application Server

VoiceXML (possibly with SCXML)

VoiceXML

Browser

Metacode

BusinessLogicSemantic

AnalysisBilling

Tag Library

ComplexComputation

AdvancedDialogProcessing

Page 23: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

23 David Thomson

Meta-language Processing Flow

1. Offline Application Development Tools

2. Online higher-level dialog managers(e.g. rule- or plan-based)

3. Metalanguage Documents

• SCXML tags (for control)• Extension tags• XML tags (for data)• Other resources

4. Metalanguage Interpreter

8. VXML and Related Documents

• SCXML, SRGS, CCXML, etc.

• Extension Tags• Dynamic? Static?

9. Extension Tag Expansion

10. VXML and Related Documents

• SCXML, SRGS, CCXML, etc.

• No Extension Tags

11. Voice Browser

Extension tag expansion may be sensitive to context so this is not

necessarily the same thing as “macro expansion”.

5. Database IDL

IDL

6. Transaction servers, web pages, business logic, CSRs, etc.

14. Resultsand

Feedback

13. Resultsand

Feedback

12. Resultsand

Feedback

=Interface Definition LanguageIDL

Optional

Optional

15. Extension Tag Library

ApplicationServer

Page 24: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

24 David Thomson

For More Information

Copy of slides:[email protected](or business card)

Join committee / see notes:Cindy [email protected]

Page 25: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

Call FlowDesigner

VoiceXMLGenerator

ConversationManager

High-LevelScriptingObjects

Architecture – Draft 6b

GUI

Data

Analyze& Test

GrammarBuilder

InterchangeExport/Import

InterchangeCode

VoiceXML

Agent

SystemInterface

E-mail IM HTML

LoggingBilling OA&M

Alarms

Offline Tools Runtime Tools

Alternate Toolset

To S

peech

Serv

er

Data Bus

ApplicationServer

Trans-actionServer

Meta-language

25

Page 26: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

26 David Thomson

VoiceXML Complications

•Applications rarely written natively in

VoiceXML → Leads to metalanguages

•Applications are not portable

(Vendor-neutral applies only to speech server)

•Vendor tools/servers not interchangeable

Page 27: 1 David Thomson The Search for a Dialog Metalanguage that Makes Everybody Happy David Thomson Chair, VoiceXML Tools Committee, SpeechPhone CTO

27 David Thomson

Interchange/Metalanguage Candidates

1. Proprietary XML + style sheets

2. W3C’s Xforms

3. XHTML

4. Java

5. “VoiceXML 9.0”

6. Extension tags

7. SCXML

“X+X”