SlideShare a Scribd company logo
1 of 60
___________________________________________________________________________________________________
SCHOOL OF INTERACTIVE ARTS + TECHNOLOGY [SIAT] | WWW.SIAT.SFU.CA
Dialog Design
Categories of Dialogs
Feb 10, 2011 IAT 334 2
Agenda
 Dialog design
– Command Language
– WIMP - Window, Icon, Menu, Pointer
– Direct manipulation
– Speech/Natural language
– Gesture, pen, multi-touch, VR…
Feb 10, 2011 IAT 334 3
Dialog Design
 How does a user interact with the
interface?
Feb 10, 2011 IAT 334 4
Command Languages
 Earliest UI interaction paradigms
 Examples
– MS-DOS shell
– UNIX shell
Feb 10, 2011 IAT 334 5
CL Attributes
 Work primarily by recall, not recognition
 Heavy memory load
 Little or nothing is visible
so…
 Poor choice for novices
but...
Feb 10, 2011 IAT 334 6
CL Attributes
 Specify commands to operate on current
data collection
 User only controls initiation
 Single thread of control
 Some other display area needed
Feb 10, 2011 IAT 334 7
CL Advantages
 Advantages for experts
– Speed, conciseness
• % ls <ret>
– Can express actions beyond a limited set
• Flags, pipes
– Repetition, extensibility
• Scripts, macros
– Easier implementation, less overhead
– Power
• eg. Wild cards
Feb 10, 2011 IAT 334 8
CL Dangers
 With added power, comes added
responsibility and danger
– UNIX
% rm -r *
• Deletes every file that you have, and you can’t get
them back
Feb 10, 2011 IAT 334 9
CL Reflection
 Command languages are often maligned
(for good reason)
 But increased functionality can win out
over bad UI (e.g., LINUX)
– Try to get both
– Avoid excess functionality (comes at cost)
Feb 10, 2011 IAT 334 10
CL Design Goals
 Consistency
– Syntax, order
 Good naming and abbreviations
 Doing your homework in design can help
alleviate some of the negatives
Feb 10, 2011 IAT 334 11
Consistency
 Provide a consistent syntax
– In general: Have options and arguments
expressed the same way everywhere
– UNIX fails here because commands were
developed by lots of different people at
different organizations
• No guidelines provided
Feb 10, 2011 IAT 334 12
Dialog Order
 English: SVO subject verb object
 CL: S assumed (you)
Is VO or OV better? % rm file
% file rm
 V dO iO vs. V iO dO
% print file thePrinter
% lpr -PthePrinter file
Dialog Order
 Technical issues dictate the choice:
 V iO dO
% lpr -PthePrinter file
 The command must parse the arguments
– So the command comes first
 Flags control how to act on the file
– Want to parse all flags before checking files
– e.g. -o outputFile
Feb 10, 2011 IAT 334 13
Feb 10, 2011 IAT 334 14
Syntax
 Pick a consistent syntax strategy
– Simple command list
• eg., vi minimize keystrokes
– Commands plus arguments
• realistic, can provide keyword parameters
• % cp from=foo to=bar
– Commands plus options plus arguments
• what you usually see
Feb 10, 2011 IAT 334 15
Terminology
 Keep terminology consistent
– Same concept expressed with same options
– Useful to provide symmetric (congruent)
pairings
• forward/backward
• next/prev
• control/meta
Feb 10, 2011 IAT 334 16
Example
 vi text editor
w - forward word
b - backward word
 Wouldn’t ‘f’ be better for forward?
‘f’ already used
 How about ‘fw’ and ‘bw’?
Extra keystrokes
Feb 10, 2011 IAT 334 17
Ordering
 Keep ordering consistent
– VO seems to be the most natural
– Typically need to pick where options go
 Example
– % ln -s file1 file2 (I can never remember)
– Think of % cp file1 file2
Feb 10, 2011 IAT 334 18
Names and Abbreviations
 Specificity versus Generality
– General words
• More familiar, easier to accept
– Specific (typically better)
• More descriptive, meaningful, distinctive
– (Nonsense does surprisingly well in small set)
Abbreviations
Feb 10, 2011 IAT 334 19
Feb 10, 2011 IAT 334 20
Abbreviations
 Abbrevs. allow for faster actions
– Expert performance begins to be dominated
by motor times such as # of keystrokes
– Not good idea for novices
– (Allow but don’t require)
• IBM CMS and DEC VMS had shortened commands-
first unique characters were enough
• filelist -- f, fi, fil, file, filel, fileli, filelis, filelist
Feb 10, 2011 IAT 334 21
Picking Good Abbrevs.
 Strategies
– Simple truncation (works best, but conflicts)
– Vowel drop plus truncation (avoid conflicts)
– First and last letters
– First letters of words in a phrase
– Standard abbrev from other contexts
• qty, rm, bldg
– Phonics
• xqt
Feb 10, 2011 IAT 334 22
Abbrv Gdlns
 Use single primary rule (with single fallback for
conflicts)
– Use fallback as little as possible
– Mark use of fallback in documentation
 Let user know primary and secondary rules
 Truncation is good but generates conflicts
 Fixed length is better than variable length
 Don’t use abbrevs in system output
Feb 10, 2011 IAT 334 23
Agenda
 Dialog design
– Command Language
– WIMP - Window, Icon, Menu, Pointer
– Direct manipulation
– Speech/Natural language
– Gesture, pen, multi-touch, VR…
Feb 10, 2011 IAT 334 24
WIMP
 Focus: Menus, Buttons, Forms
 Predominant interface paradigm now
(with some direct manipulation added)
 Advantages:
– ?
Recognition
 Recognition is easier than recall!
– Recall has one cue
– Recognition has the recall cue + the presence
of the prompting word/icon
Feb 10, 2011 IAT 334 25
Feb 10, 2011 IAT 334 26
Menus
 Key advantages:
– 1 keystroke or mouse operation vs. many
– No memorization of commands
– Limited input set
Feb 10, 2011 IAT 334 27
Menus
 Many different types
– pop-up
– pull-down
– radio buttons
– pie buttons
– hierarchies
Feb 10, 2011 IAT 334 28
Menu Items
 Organization strategies
– Create groups of logically similar items
– Cover all possibilities
– Ensure that items are non-overlapping
– Keep wording concise, understandable
Feb 10, 2011 IAT 334 29
Bad Example
 Travel web page links:
– Flight page
– 3 Best Itineraries
– Flights & Prices
– Timetables
– Fares
 Which do you choose for reservations?
Feb 10, 2011 IAT 334 30
Presentation Sequence
 Use natural if available
– Time
• e.g. Breakfast, Lunch, Dinner
– Numeric ordering
• e.g. Point sizes for font
– Size
• Canada-> BC -> Surrey
Feb 10, 2011 IAT 334 31
Presentation Sequence
 Choices
– Alphabetical
– Group related items
– Frequently used first
– Most important first
– Conventional order (MTWRF)
 Don’t change the order on the fly!
Feb 10, 2011 IAT 334 32
Presentation Sequence
 User studies
– Novices: alpha > functional > random
– Experts: categorization
 How would you do it in general?
Feb 10, 2011 IAT 334 33
Presentation Sequence
 One possible methodology (first->last)
– Natural order (if it exists)
– Frequency of use
– Order of use
– Categorical
– Alphabetical
 Don’t change dynamically!
Feb 10, 2011 IAT 334 34
Agenda
 Dialog design
– Command Language
– WIMP - Window, Icon, Menu, Pointer
– Direct manipulation
– Speech/Natural language
– Gesture, pen, multi-touch, VR…
Feb 10, 2011 IAT 334 35
Direct Manipulation
 Continuous visibility of the objects and actions
of interest
 Rapid, incremental actions
 Reversibility of all actions to encourage
experimentation
 Syntactic correctness of all actions—every action
is syntactically legal
 Replacement of command language syntax by
direct manipulation of object of interest
Feb 10, 2011 IAT 334 36
Direct Manipulation
 Examples
– WYSIWYG editors and word processors
– VISICALC - 1st electronic spreadsheet
– CAD
– Desktop metaphor
– Video games
DM Syntax
 Typical DM syntax is postfix
 DirectObjects first, Verb second
– In this case, the command completes the
utterance
 Enables separate selection syntax
 Indirect objects typically specified before
direct objects
– e.g. brush size before painting in Photoshop
Feb 10, 2011 IAT 334 37
Feb 10, 2011 IAT 334 38
DM Essence
 Representation of reality that can be
manipulated
 The user is able to apply intellect directly to
the task
 Don’t have to name things, just touch them
 The tool itself seems to disappear
Feb 10, 2011 IAT 334 39
DM Advantages
 Easier to learn & remember
 Direct WYSIWYG
 Flexible, easily reversible actions helps
reduce anxiety in users
 Provides context & instant visual feedback
 Exploits human use of visual spatial cues
 Limits types of errors
Feb 10, 2011 IAT 334 40
DM Problems
 Takes of screen space
 Need to learn meaning of components of
visual representation
 Visual representation must be learned
 Mouse ops may be slower than typing
 Not self-explanatory (no prompts)
Direct Manipulation is
Locality
 DM Relies on a primary geometric organization
 Items located nearby are frequently edited
together
– The words in a sentence
– A column of numbers in a spreadsheet
 Less related -> Less local -> Less DM!
Feb 10, 2011 IAT 334 41
Feb 10, 2011 IAT 334 42
DM Problems
 Not good at
– Repetition
– History keeping (harder)
– Certain tasks (Change all italics to bold)
– Macros harder
– Abstract elements (variables)
Feb 10, 2011 IAT 334 43
What is Directness?
 Related to three things:
– Physical Distance
– “Gulfs” between user’s goals & system image
– Engagement
Hutchins, Hollan, Norman ‘86
Feb 10, 2011 IAT 334 44
Distance: Two “Gulfs”
 Gulf of execution
– Distance between user’s goals and means of achieving
them in system
• Does the system allow the user to do what the user wants to
do?
 Gulf of evaluation
– Amount of effort person must expend to interpret
system state and judge if intention was achieved
• Can user perceive if progressing favorably?
Goals System
Execution
Evaluation
Feb 10, 2011 IAT 334 45
Directness and Distance
 Two types
– Semantic - Relation between what user wants
to express and what is available in interface
• Can I say what I want (concisely)?
– Articulatory - Relation between meanings of
expressions and their physical form(s)
• Is the way to perform an action expected and
clear (appropriate)?
Feb 10, 2011 IAT 334 46
Engagement
 Feeling that you are directly manipulating
the objects of interest
 Promoted by
– Unobtrusive interface
– Minimizing gulfs of execution and evaluation
– Appropriately responsive system
Feb 10, 2011 IAT 334 47
Agenda
 Dialog design
– Command Language
– WIMP - Window, Icon, Menu, Pointer
– Direct manipulation
– Speech/Natural language
– Gesture, pen, multi-touch, VR…
Feb 10, 2011 IAT 334 48
Speech Input
 Speech synthesis
 Speaker recognition
 Speech recognition
 Natural language understanding
Feb 10, 2011 IAT 334 49
English Speech
 Made up of 40 phonemes, 24 consonants
and 16 vowels
Feb 10, 2011 IAT 334 50
Speech Synthesis
 Often hear robotic voice
 Store tones, then put them together
– The transition is the difficult thing to do
Feb 10, 2011 IAT 334 51
Speaker Recognition
 Tell which person it is (voice print)
 Could be important for monitoring
meetings
Feb 10, 2011 IAT 334 52
Speech Recognition
 Primarily identifying words
 Improving all the time
 Commercial systems:
– IBM/Nuance ViaVoice, Ford Sync ...
Feb 10, 2011 IAT 334 53
Recognition Dimensions
 Speaker dependent/independent
– Parametric patterns are sensitive to speaker
– With training can get better
 Vocabulary
– Some are getting 50,000+ words
 Isolated word vs. continuous speech
– Continuous: where words stop & begin
– Typically a pattern match, no context used
Feb 10, 2011 IAT 334 54
Recognition Systems
Typical system has 5 components:
– Speech capture device - Has analog -> digital
converter
– Digital Signal Processor - Gets word boundaries,
scales, filters, cuts out extra stuff
– Preprocessed signal storage - Processed speech
buffered for recognition algorithm
– Reference speech patterns - Stored templates or
generative speech models for comparisons
– Pattern matching algorithm - Goodness of fit from
templates/model to user’s speech
Feb 10, 2011 IAT 334 55
Errors
 Systems make four types of errors:
– Substitution – one word for another
– Rejection - detected, but not recognized
– Insertion – word added
– Deletion – word not detected
 Which is more common, dangerous?
Feb 10, 2011 IAT 334 56
Natural Language
Understanding
 Putting meaning to the words
 Input might be speech or could be typed
 Holy grail of Artificial Intelligence
problems
Feb 10, 2011 IAT 334 57
NL Factors/Terms
 Syntactic
– Grammar or structure
 Prosodic
– Inflection, stress, pitch, timing
 Pragmatic
– Situated context of utterance, location, time
 Semantic
– Meaning of words
Feb 10, 2011 IAT 334 58
SR/NLU Advantages
 Easy to learn and remember
 Powerful
 Fast, efficient (not always)
 Little screen real estate
Feb 10, 2011 IAT 334 59
SR/NLU Disadvantages
 Doesn’t work well enough yet
 Assumes knowledge of problem domain
– Not prompted, like menus
 Requires typing skill (if keyboard)
 Enhancements are invisible
 Expensive to implement
Feb 10, 2011 IAT 334 60
Good in Situations
 Hands busy
 Mobility required
 Eyes occupied
 Conditions preclude use of keyboard
 Visual impairment
 Physical limitation

More Related Content

Similar to Dialog Design Fundamentals

IAT334-Lec01-Intro.pptx
IAT334-Lec01-Intro.pptxIAT334-Lec01-Intro.pptx
IAT334-Lec01-Intro.pptxssuseraae9cd
 
IAT334-Lec01-Intro.pptx
IAT334-Lec01-Intro.pptxIAT334-Lec01-Intro.pptx
IAT334-Lec01-Intro.pptxArifKamal36
 
IAT334-Lec08-Experiment.pptx
IAT334-Lec08-Experiment.pptxIAT334-Lec08-Experiment.pptx
IAT334-Lec08-Experiment.pptxssuseraae9cd
 
Topic 3 Human Computer Interaction
Topic 3 Human Computer InteractionTopic 3 Human Computer Interaction
Topic 3 Human Computer Interactionnur ezzaty
 
software-tools-part-1.ppt
software-tools-part-1.pptsoftware-tools-part-1.ppt
software-tools-part-1.pptSadiaZar1
 
e3-chap-03 (1).ppt
e3-chap-03 (1).ppte3-chap-03 (1).ppt
e3-chap-03 (1).pptreb20
 
Tutorial: Text Analytics for Security
Tutorial: Text Analytics for SecurityTutorial: Text Analytics for Security
Tutorial: Text Analytics for SecurityTao Xie
 
IRJET- Querying Database using Natural Language Interface
IRJET-  	  Querying Database using Natural Language InterfaceIRJET-  	  Querying Database using Natural Language Interface
IRJET- Querying Database using Natural Language InterfaceIRJET Journal
 
FinalBCU-Unit1-DigitalFluency (1).pdf
FinalBCU-Unit1-DigitalFluency (1).pdfFinalBCU-Unit1-DigitalFluency (1).pdf
FinalBCU-Unit1-DigitalFluency (1).pdfRaghunathan52
 
Build your own Language - Why and How?
Build your own Language - Why and How?Build your own Language - Why and How?
Build your own Language - Why and How?Markus Voelter
 
Cobbbbbbbnnnnnnnnnnnnnnnnncepts of PL.pptx
Cobbbbbbbnnnnnnnnnnnnnnnnncepts of PL.pptxCobbbbbbbnnnnnnnnnnnnnnnnncepts of PL.pptx
Cobbbbbbbnnnnnnnnnnnnnnnnncepts of PL.pptxmehrankhan7842312
 
e3-chap-03.power point presentaion on interst rate
e3-chap-03.power point presentaion on interst ratee3-chap-03.power point presentaion on interst rate
e3-chap-03.power point presentaion on interst rateseidmohammed44
 
e3-chap-03.ppt
e3-chap-03.ppte3-chap-03.ppt
e3-chap-03.pptKingSh2
 
Programming language design and implemenation
Programming language design and implemenationProgramming language design and implemenation
Programming language design and implemenationAshwini Awatare
 
IAT334-Lec07-Pen.pptx
IAT334-Lec07-Pen.pptxIAT334-Lec07-Pen.pptx
IAT334-Lec07-Pen.pptxssuseraae9cd
 

Similar to Dialog Design Fundamentals (20)

IAT334-Lec01-Intro.pptx
IAT334-Lec01-Intro.pptxIAT334-Lec01-Intro.pptx
IAT334-Lec01-Intro.pptx
 
IAT334-Lec01-Intro.pptx
IAT334-Lec01-Intro.pptxIAT334-Lec01-Intro.pptx
IAT334-Lec01-Intro.pptx
 
IAT334-Lec08-Experiment.pptx
IAT334-Lec08-Experiment.pptxIAT334-Lec08-Experiment.pptx
IAT334-Lec08-Experiment.pptx
 
Topic 3 Human Computer Interaction
Topic 3 Human Computer InteractionTopic 3 Human Computer Interaction
Topic 3 Human Computer Interaction
 
software-tools-part-1.ppt
software-tools-part-1.pptsoftware-tools-part-1.ppt
software-tools-part-1.ppt
 
Interaction.pptx
Interaction.pptxInteraction.pptx
Interaction.pptx
 
e3-chap-03 (1).ppt
e3-chap-03 (1).ppte3-chap-03 (1).ppt
e3-chap-03 (1).ppt
 
Team Collaboration Tools in AVT
Team Collaboration Tools in AVTTeam Collaboration Tools in AVT
Team Collaboration Tools in AVT
 
Tutorial: Text Analytics for Security
Tutorial: Text Analytics for SecurityTutorial: Text Analytics for Security
Tutorial: Text Analytics for Security
 
IRJET- Querying Database using Natural Language Interface
IRJET-  	  Querying Database using Natural Language InterfaceIRJET-  	  Querying Database using Natural Language Interface
IRJET- Querying Database using Natural Language Interface
 
FinalBCU-Unit1-DigitalFluency (1).pdf
FinalBCU-Unit1-DigitalFluency (1).pdfFinalBCU-Unit1-DigitalFluency (1).pdf
FinalBCU-Unit1-DigitalFluency (1).pdf
 
Build your own Language - Why and How?
Build your own Language - Why and How?Build your own Language - Why and How?
Build your own Language - Why and How?
 
Cobbbbbbbnnnnnnnnnnnnnnnnncepts of PL.pptx
Cobbbbbbbnnnnnnnnnnnnnnnnncepts of PL.pptxCobbbbbbbnnnnnnnnnnnnnnnnncepts of PL.pptx
Cobbbbbbbnnnnnnnnnnnnnnnnncepts of PL.pptx
 
e3-chap-03.power point presentaion on interst rate
e3-chap-03.power point presentaion on interst ratee3-chap-03.power point presentaion on interst rate
e3-chap-03.power point presentaion on interst rate
 
e3-chap-03.ppt
e3-chap-03.ppte3-chap-03.ppt
e3-chap-03.ppt
 
Programming language design and implemenation
Programming language design and implemenationProgramming language design and implemenation
Programming language design and implemenation
 
ch3-interaction.pdf
ch3-interaction.pdfch3-interaction.pdf
ch3-interaction.pdf
 
ch3-interaction.pdf
ch3-interaction.pdfch3-interaction.pdf
ch3-interaction.pdf
 
IAT334-Lec07-Pen.pptx
IAT334-Lec07-Pen.pptxIAT334-Lec07-Pen.pptx
IAT334-Lec07-Pen.pptx
 
E3 chap-03
E3 chap-03E3 chap-03
E3 chap-03
 

Recently uploaded

Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.soniya singh
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Servicegwenoracqe6
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsstephieert
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxellan12
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445ruhi
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)Damian Radcliffe
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Servicesexy call girls service in goa
 
SEO Growth Program-Digital optimization Specialist
SEO Growth Program-Digital optimization SpecialistSEO Growth Program-Digital optimization Specialist
SEO Growth Program-Digital optimization SpecialistKHM Anwar
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebJames Anderson
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGAPNIC
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...Neha Pandey
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024APNIC
 
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663Call Girls Mumbai
 
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝soniya singh
 

Recently uploaded (20)

Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girls
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girls
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
SEO Growth Program-Digital optimization Specialist
SEO Growth Program-Digital optimization SpecialistSEO Growth Program-Digital optimization Specialist
SEO Growth Program-Digital optimization Specialist
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOG
 
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
 
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
 

Dialog Design Fundamentals

  • 1. ___________________________________________________________________________________________________ SCHOOL OF INTERACTIVE ARTS + TECHNOLOGY [SIAT] | WWW.SIAT.SFU.CA Dialog Design Categories of Dialogs
  • 2. Feb 10, 2011 IAT 334 2 Agenda  Dialog design – Command Language – WIMP - Window, Icon, Menu, Pointer – Direct manipulation – Speech/Natural language – Gesture, pen, multi-touch, VR…
  • 3. Feb 10, 2011 IAT 334 3 Dialog Design  How does a user interact with the interface?
  • 4. Feb 10, 2011 IAT 334 4 Command Languages  Earliest UI interaction paradigms  Examples – MS-DOS shell – UNIX shell
  • 5. Feb 10, 2011 IAT 334 5 CL Attributes  Work primarily by recall, not recognition  Heavy memory load  Little or nothing is visible so…  Poor choice for novices but...
  • 6. Feb 10, 2011 IAT 334 6 CL Attributes  Specify commands to operate on current data collection  User only controls initiation  Single thread of control  Some other display area needed
  • 7. Feb 10, 2011 IAT 334 7 CL Advantages  Advantages for experts – Speed, conciseness • % ls <ret> – Can express actions beyond a limited set • Flags, pipes – Repetition, extensibility • Scripts, macros – Easier implementation, less overhead – Power • eg. Wild cards
  • 8. Feb 10, 2011 IAT 334 8 CL Dangers  With added power, comes added responsibility and danger – UNIX % rm -r * • Deletes every file that you have, and you can’t get them back
  • 9. Feb 10, 2011 IAT 334 9 CL Reflection  Command languages are often maligned (for good reason)  But increased functionality can win out over bad UI (e.g., LINUX) – Try to get both – Avoid excess functionality (comes at cost)
  • 10. Feb 10, 2011 IAT 334 10 CL Design Goals  Consistency – Syntax, order  Good naming and abbreviations  Doing your homework in design can help alleviate some of the negatives
  • 11. Feb 10, 2011 IAT 334 11 Consistency  Provide a consistent syntax – In general: Have options and arguments expressed the same way everywhere – UNIX fails here because commands were developed by lots of different people at different organizations • No guidelines provided
  • 12. Feb 10, 2011 IAT 334 12 Dialog Order  English: SVO subject verb object  CL: S assumed (you) Is VO or OV better? % rm file % file rm  V dO iO vs. V iO dO % print file thePrinter % lpr -PthePrinter file
  • 13. Dialog Order  Technical issues dictate the choice:  V iO dO % lpr -PthePrinter file  The command must parse the arguments – So the command comes first  Flags control how to act on the file – Want to parse all flags before checking files – e.g. -o outputFile Feb 10, 2011 IAT 334 13
  • 14. Feb 10, 2011 IAT 334 14 Syntax  Pick a consistent syntax strategy – Simple command list • eg., vi minimize keystrokes – Commands plus arguments • realistic, can provide keyword parameters • % cp from=foo to=bar – Commands plus options plus arguments • what you usually see
  • 15. Feb 10, 2011 IAT 334 15 Terminology  Keep terminology consistent – Same concept expressed with same options – Useful to provide symmetric (congruent) pairings • forward/backward • next/prev • control/meta
  • 16. Feb 10, 2011 IAT 334 16 Example  vi text editor w - forward word b - backward word  Wouldn’t ‘f’ be better for forward? ‘f’ already used  How about ‘fw’ and ‘bw’? Extra keystrokes
  • 17. Feb 10, 2011 IAT 334 17 Ordering  Keep ordering consistent – VO seems to be the most natural – Typically need to pick where options go  Example – % ln -s file1 file2 (I can never remember) – Think of % cp file1 file2
  • 18. Feb 10, 2011 IAT 334 18 Names and Abbreviations  Specificity versus Generality – General words • More familiar, easier to accept – Specific (typically better) • More descriptive, meaningful, distinctive – (Nonsense does surprisingly well in small set)
  • 20. Feb 10, 2011 IAT 334 20 Abbreviations  Abbrevs. allow for faster actions – Expert performance begins to be dominated by motor times such as # of keystrokes – Not good idea for novices – (Allow but don’t require) • IBM CMS and DEC VMS had shortened commands- first unique characters were enough • filelist -- f, fi, fil, file, filel, fileli, filelis, filelist
  • 21. Feb 10, 2011 IAT 334 21 Picking Good Abbrevs.  Strategies – Simple truncation (works best, but conflicts) – Vowel drop plus truncation (avoid conflicts) – First and last letters – First letters of words in a phrase – Standard abbrev from other contexts • qty, rm, bldg – Phonics • xqt
  • 22. Feb 10, 2011 IAT 334 22 Abbrv Gdlns  Use single primary rule (with single fallback for conflicts) – Use fallback as little as possible – Mark use of fallback in documentation  Let user know primary and secondary rules  Truncation is good but generates conflicts  Fixed length is better than variable length  Don’t use abbrevs in system output
  • 23. Feb 10, 2011 IAT 334 23 Agenda  Dialog design – Command Language – WIMP - Window, Icon, Menu, Pointer – Direct manipulation – Speech/Natural language – Gesture, pen, multi-touch, VR…
  • 24. Feb 10, 2011 IAT 334 24 WIMP  Focus: Menus, Buttons, Forms  Predominant interface paradigm now (with some direct manipulation added)  Advantages: – ?
  • 25. Recognition  Recognition is easier than recall! – Recall has one cue – Recognition has the recall cue + the presence of the prompting word/icon Feb 10, 2011 IAT 334 25
  • 26. Feb 10, 2011 IAT 334 26 Menus  Key advantages: – 1 keystroke or mouse operation vs. many – No memorization of commands – Limited input set
  • 27. Feb 10, 2011 IAT 334 27 Menus  Many different types – pop-up – pull-down – radio buttons – pie buttons – hierarchies
  • 28. Feb 10, 2011 IAT 334 28 Menu Items  Organization strategies – Create groups of logically similar items – Cover all possibilities – Ensure that items are non-overlapping – Keep wording concise, understandable
  • 29. Feb 10, 2011 IAT 334 29 Bad Example  Travel web page links: – Flight page – 3 Best Itineraries – Flights & Prices – Timetables – Fares  Which do you choose for reservations?
  • 30. Feb 10, 2011 IAT 334 30 Presentation Sequence  Use natural if available – Time • e.g. Breakfast, Lunch, Dinner – Numeric ordering • e.g. Point sizes for font – Size • Canada-> BC -> Surrey
  • 31. Feb 10, 2011 IAT 334 31 Presentation Sequence  Choices – Alphabetical – Group related items – Frequently used first – Most important first – Conventional order (MTWRF)  Don’t change the order on the fly!
  • 32. Feb 10, 2011 IAT 334 32 Presentation Sequence  User studies – Novices: alpha > functional > random – Experts: categorization  How would you do it in general?
  • 33. Feb 10, 2011 IAT 334 33 Presentation Sequence  One possible methodology (first->last) – Natural order (if it exists) – Frequency of use – Order of use – Categorical – Alphabetical  Don’t change dynamically!
  • 34. Feb 10, 2011 IAT 334 34 Agenda  Dialog design – Command Language – WIMP - Window, Icon, Menu, Pointer – Direct manipulation – Speech/Natural language – Gesture, pen, multi-touch, VR…
  • 35. Feb 10, 2011 IAT 334 35 Direct Manipulation  Continuous visibility of the objects and actions of interest  Rapid, incremental actions  Reversibility of all actions to encourage experimentation  Syntactic correctness of all actions—every action is syntactically legal  Replacement of command language syntax by direct manipulation of object of interest
  • 36. Feb 10, 2011 IAT 334 36 Direct Manipulation  Examples – WYSIWYG editors and word processors – VISICALC - 1st electronic spreadsheet – CAD – Desktop metaphor – Video games
  • 37. DM Syntax  Typical DM syntax is postfix  DirectObjects first, Verb second – In this case, the command completes the utterance  Enables separate selection syntax  Indirect objects typically specified before direct objects – e.g. brush size before painting in Photoshop Feb 10, 2011 IAT 334 37
  • 38. Feb 10, 2011 IAT 334 38 DM Essence  Representation of reality that can be manipulated  The user is able to apply intellect directly to the task  Don’t have to name things, just touch them  The tool itself seems to disappear
  • 39. Feb 10, 2011 IAT 334 39 DM Advantages  Easier to learn & remember  Direct WYSIWYG  Flexible, easily reversible actions helps reduce anxiety in users  Provides context & instant visual feedback  Exploits human use of visual spatial cues  Limits types of errors
  • 40. Feb 10, 2011 IAT 334 40 DM Problems  Takes of screen space  Need to learn meaning of components of visual representation  Visual representation must be learned  Mouse ops may be slower than typing  Not self-explanatory (no prompts)
  • 41. Direct Manipulation is Locality  DM Relies on a primary geometric organization  Items located nearby are frequently edited together – The words in a sentence – A column of numbers in a spreadsheet  Less related -> Less local -> Less DM! Feb 10, 2011 IAT 334 41
  • 42. Feb 10, 2011 IAT 334 42 DM Problems  Not good at – Repetition – History keeping (harder) – Certain tasks (Change all italics to bold) – Macros harder – Abstract elements (variables)
  • 43. Feb 10, 2011 IAT 334 43 What is Directness?  Related to three things: – Physical Distance – “Gulfs” between user’s goals & system image – Engagement Hutchins, Hollan, Norman ‘86
  • 44. Feb 10, 2011 IAT 334 44 Distance: Two “Gulfs”  Gulf of execution – Distance between user’s goals and means of achieving them in system • Does the system allow the user to do what the user wants to do?  Gulf of evaluation – Amount of effort person must expend to interpret system state and judge if intention was achieved • Can user perceive if progressing favorably? Goals System Execution Evaluation
  • 45. Feb 10, 2011 IAT 334 45 Directness and Distance  Two types – Semantic - Relation between what user wants to express and what is available in interface • Can I say what I want (concisely)? – Articulatory - Relation between meanings of expressions and their physical form(s) • Is the way to perform an action expected and clear (appropriate)?
  • 46. Feb 10, 2011 IAT 334 46 Engagement  Feeling that you are directly manipulating the objects of interest  Promoted by – Unobtrusive interface – Minimizing gulfs of execution and evaluation – Appropriately responsive system
  • 47. Feb 10, 2011 IAT 334 47 Agenda  Dialog design – Command Language – WIMP - Window, Icon, Menu, Pointer – Direct manipulation – Speech/Natural language – Gesture, pen, multi-touch, VR…
  • 48. Feb 10, 2011 IAT 334 48 Speech Input  Speech synthesis  Speaker recognition  Speech recognition  Natural language understanding
  • 49. Feb 10, 2011 IAT 334 49 English Speech  Made up of 40 phonemes, 24 consonants and 16 vowels
  • 50. Feb 10, 2011 IAT 334 50 Speech Synthesis  Often hear robotic voice  Store tones, then put them together – The transition is the difficult thing to do
  • 51. Feb 10, 2011 IAT 334 51 Speaker Recognition  Tell which person it is (voice print)  Could be important for monitoring meetings
  • 52. Feb 10, 2011 IAT 334 52 Speech Recognition  Primarily identifying words  Improving all the time  Commercial systems: – IBM/Nuance ViaVoice, Ford Sync ...
  • 53. Feb 10, 2011 IAT 334 53 Recognition Dimensions  Speaker dependent/independent – Parametric patterns are sensitive to speaker – With training can get better  Vocabulary – Some are getting 50,000+ words  Isolated word vs. continuous speech – Continuous: where words stop & begin – Typically a pattern match, no context used
  • 54. Feb 10, 2011 IAT 334 54 Recognition Systems Typical system has 5 components: – Speech capture device - Has analog -> digital converter – Digital Signal Processor - Gets word boundaries, scales, filters, cuts out extra stuff – Preprocessed signal storage - Processed speech buffered for recognition algorithm – Reference speech patterns - Stored templates or generative speech models for comparisons – Pattern matching algorithm - Goodness of fit from templates/model to user’s speech
  • 55. Feb 10, 2011 IAT 334 55 Errors  Systems make four types of errors: – Substitution – one word for another – Rejection - detected, but not recognized – Insertion – word added – Deletion – word not detected  Which is more common, dangerous?
  • 56. Feb 10, 2011 IAT 334 56 Natural Language Understanding  Putting meaning to the words  Input might be speech or could be typed  Holy grail of Artificial Intelligence problems
  • 57. Feb 10, 2011 IAT 334 57 NL Factors/Terms  Syntactic – Grammar or structure  Prosodic – Inflection, stress, pitch, timing  Pragmatic – Situated context of utterance, location, time  Semantic – Meaning of words
  • 58. Feb 10, 2011 IAT 334 58 SR/NLU Advantages  Easy to learn and remember  Powerful  Fast, efficient (not always)  Little screen real estate
  • 59. Feb 10, 2011 IAT 334 59 SR/NLU Disadvantages  Doesn’t work well enough yet  Assumes knowledge of problem domain – Not prompted, like menus  Requires typing skill (if keyboard)  Enhancements are invisible  Expensive to implement
  • 60. Feb 10, 2011 IAT 334 60 Good in Situations  Hands busy  Mobility required  Eyes occupied  Conditions preclude use of keyboard  Visual impairment  Physical limitation