SlideShare uma empresa Scribd logo
1 de 19
How to make a list
  in a voice app
  shorter
  by entering letters via
  DTMF




Pavel Růžička, January 2012
T-Mobile Czech Republic
Agenda

•List – hidden treasure of VoiceObjects
•When a list is too long
•How to enter letters via DTMF
•Let the user navigate by a letter
•Optimization
•Summary
•Example to import into your project
•Resources




                                          2
Pavel Růžička, January 2012
T-Mobile Czech Republic
List object – a treasure of VoiceObjects
•allows users go through collection of data
 •without significant effort of a developer
 •it's like an audible excel sheet with unified navigation




                                                             3
      Pavel Růžička, January 2012
      T-Mobile Czech Republic
When a list is too long
 Afghanistan
 Albania
 Algeria
 American Samoa           • Imagine a list of countries
 Andorra
 Angola
 Anguilla
 Antarctica
 Antigua And Barbuda
                          • Isn't it cruel to let the user go
 Argentina
 Armenia
                            through 216 items to reach
 Aruba
 Australia
                            Turkey?
 Austria
 Azerbaijan
 Bahamas
 Bahrain
 Bangladesh
 Barbados
 Belarus
 Belgium
 Belize
 Benin
 Bermuda
 Bhutan
 Bolivia
 Bosnia And Herzegowina
 ...
 ...
 Trinidad And Tobago
 Tunisia
 Turkey
 ...
 ...
 Zimbabwe

                                                                4
        Pavel Růžička, January 2012
        T-Mobile Czech Republic
Make the user closer to the target

 Taiwan
 Tajikistan
 Tanzania
                            • make the list alphabetically
 Thailand
 Togo
                              ordered
 Tokelau
 Tonga
 Trinidad And Tobago
 Tunisia                    • offer items starting with a chosen
                              letter
 Turkey
 Turkmenistan
 Turks And Caicos Islands
 Tuvalu                         • approximatelly 12 items starting with
                                  the same letter
                                • Turkey is 10th

                            • isn't that nice? 




                                                                    5
         Pavel Růžička, January 2012
         T-Mobile Czech Republic
Is it possible to enter letters via DTMF?

 • of course by CCITT it recognizes also A,B,C and D
   • but not on common phones. It's too little, it's useless.

 • there is other possibility – users know it from
   sending SMS
   • e.g. for B you need to press the key twice
                                          A-2
                                          B - 22
                                          ...
                                          O - 666
                                          ...
                                          Z - 9999



                                                                6
        Pavel Růžička, January 2012
        T-Mobile Czech Republic
What do we need to get a letter from DTMF digits?

 • input object with grammar for 1-4 digits

 • good explanation what you expect from the user

 • translation collection

 • VALUESUBSTITUTION expression




                                                    7
       Pavel Růžička, January 2012
       T-Mobile Czech Republic
Input with TTG grammar and with translation expression




                                                         8
        Pavel Růžička, January 2012
        T-Mobile Czech Republic
Translation the input result value




                                      9
        Pavel Růžička, January 2012
        T-Mobile Czech Republic
Digits are translated
      – but what if user needs to enter a real digit?

 • the approach of translation prevents users to enter the real
   value of a key

 • we should offer an alternative how to enter any digit

 • only one key at once is valid for generating a letter
   • we can recognize different key as a request for suppressing the
     translation
   • if the entered value is not in the translation collection – return the first
     pressed key
     • 22 will be translated as B
     • 963, 7*, 54 are not in translation collection
       only first digit will be taken: 9, 7, 5



                                                                             10
        Pavel Růžička, January 2012
        T-Mobile Czech Republic
Check if the entered value can be translated
  • FINDROW expression to check if the value exists in the
    translation collection




                                                             11
        Pavel Růžička, January 2012
        T-Mobile Czech Republic
Translation or assign unchanged value?
• CONDASSIGN expression to conditionally assign translated or
  unchanged value
• LEFT to return only the first pressed digit (unchanged value)




                                                             12
        Pavel Růžička, January 2012
        T-Mobile Czech Republic
Wrap it to sequence with confirmation




• Confirmation object to confirm and, if necessary, to correct
  information from the preceding dialog




                                                                 13
         Pavel Růžička, January 2012
         T-Mobile Czech Republic
Long list - let the user navigate by the first letter


                            • filter out unnecessary items
 Taiwan                       • copy the collection to a temporary collection
 Tajikistan
 Tanzania
                                and then with ITERATE and DELETEROW
 Thailand                       expressions delete redundant items
 Togo
 Tokelau
 Tonga
 Trinidad And Tobago
 Tunisia
                            • scroll the list down to the first item
 Turkey
 Turkmenistan
                              starting with chosen letter
 Turks And Caicos Islands
 Tuvalu
                              • you need to find row index of the item
                                going through the collection using LOOP
                                object or ITERATE expression with INDEX
                              • then update row index of the list
                              • you have to ensure there is at least one
                                item starting with the letter



                                                                         14
          Pavel Růžička, January 2012
          T-Mobile Czech Republic
Other optimization
• include special chars to the translation collection like _ . @ #
 <row>
    <col name="key">1</col>
    <col name="default">.</col>
 </row>
 <row>
   <col name="key">11</col>
   <col name="default">_</col>
 </row>
 <row>
    <col name="key">*</col>
    <col name="default">@</col>
 </row>

• since grammar allows to enter 4 digits it's good to translate 4th press of a
  key with only 3 letters as well as 3rd letter to help users avoid of
  mistyping
 <row>
    <col name="key">8</col>
    <col name="default">T</col>
 </row>
 <row>
    <col name="key">88</col>
    <col name="default">U</col>
 </row>
 <row>
    <col name="key">888</col>
    <col name="default">V</col>
 </row>
 <row>
    <col name="key">8888</col>
    <col name="default">V</col>
 </row>                                                                    15
              Pavel Růžička, January 2012
              T-Mobile Czech Republic
More than one letter at once
• enhanced algorithm could allow to enter more than one letter at once
  • grammar needs to be changed
  • way of confirmation needs to be changed to confirm after whole input
  • whole input needs to be splitted by clusters of the same key to collection, then
    translated
  • real digit in the input could be followed by an asterisk (*) or by 1 wich has no meaning

• could be useful for experienced users, special applications, admin
  interfaces
  • you can enter alphanumeric password, e-mail address etc...




                                                                                           16
           Pavel Růžička, January 2012
           T-Mobile Czech Republic
Summary

• create a special input for entering a letter by numbers with proper
  grammar
   • sequence with confirmation will make it much more useful

• fill the translation collection and implement translation into
  postprocessing of the input
• use the letter from the input for your alphabetically ordered list as an key for
  filtering or scrolling down

• here is an example with the translation collection to import into your
  project 




                                                                                     17
           Pavel Růžička, January 2012
           T-Mobile Czech Republic
Resources
• Natural Dialog Management.pdf

• VoiceObjects Help




                                      18
        Pavel Růžička, January 2012
        T-Mobile Czech Republic
Pavel Růžička
 Programmer – Analyst
 Service Development Department
T-Mobile Czech Republic a.s.
  Tomíčkova 2144/1, 149 00 Praha 4
  T-Mobile: +420 603 416 974
  E-Mail: pavel.ruzicka@t-mobile.cz




                                        19
          Pavel Růžička, January 2012
          T-Mobile Czech Republic

Mais conteúdo relacionado

Último

How Safe Is It To Witness Whales In Maui’s Waters
How Safe Is It To Witness Whales In Maui’s WatersHow Safe Is It To Witness Whales In Maui’s Waters
How Safe Is It To Witness Whales In Maui’s WatersMakena Coast Charters
 
Italia Lucca 1 Un tesoro nascosto tra le sue mura
Italia Lucca 1 Un tesoro nascosto tra le sue muraItalia Lucca 1 Un tesoro nascosto tra le sue mura
Italia Lucca 1 Un tesoro nascosto tra le sue murasandamichaela *
 
Haitian culture and stuff and places and food and travel.pptx
Haitian culture and stuff and places and food and travel.pptxHaitian culture and stuff and places and food and travel.pptx
Haitian culture and stuff and places and food and travel.pptxhxhlixia
 
a presentation for foreigners about how to travel in Germany.
a presentation for foreigners about how to travel in Germany.a presentation for foreigners about how to travel in Germany.
a presentation for foreigners about how to travel in Germany.moritzmieg
 
Hoi An Ancient Town, Vietnam (越南 會安古鎮).ppsx
Hoi An Ancient Town, Vietnam (越南 會安古鎮).ppsxHoi An Ancient Town, Vietnam (越南 會安古鎮).ppsx
Hoi An Ancient Town, Vietnam (越南 會安古鎮).ppsxChung Yen Chang
 
question 2: airplane vocabulary presentation
question 2: airplane vocabulary presentationquestion 2: airplane vocabulary presentation
question 2: airplane vocabulary presentationcaminantesdaauga
 
Sicily Holidays Guide Book: Unveiling the Treasures of Italy's Jewel
Sicily Holidays Guide Book: Unveiling the Treasures of Italy's JewelSicily Holidays Guide Book: Unveiling the Treasures of Italy's Jewel
Sicily Holidays Guide Book: Unveiling the Treasures of Italy's JewelTime for Sicily
 
Authentic Travel Experience 2024 Greg DeShields.pptx
Authentic Travel Experience 2024 Greg DeShields.pptxAuthentic Travel Experience 2024 Greg DeShields.pptx
Authentic Travel Experience 2024 Greg DeShields.pptxGregory DeShields
 
Where to Stay in Lagos, Portugal.pptxasd
Where to Stay in Lagos, Portugal.pptxasdWhere to Stay in Lagos, Portugal.pptxasd
Where to Stay in Lagos, Portugal.pptxasdusmanghaniwixpatriot
 
Aeromexico Airlines Flight Name Change Policy
Aeromexico Airlines Flight Name Change PolicyAeromexico Airlines Flight Name Change Policy
Aeromexico Airlines Flight Name Change PolicyFlyFairTravels
 
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)Mazie Garcia
 
Moroccan Architecture presentation ( Omar & Yasine ).pptx
Moroccan Architecture presentation ( Omar & Yasine ).pptxMoroccan Architecture presentation ( Omar & Yasine ).pptx
Moroccan Architecture presentation ( Omar & Yasine ).pptxOmarOuazzani1
 
Inspirational Quotes About Italy and Food
Inspirational Quotes About Italy and FoodInspirational Quotes About Italy and Food
Inspirational Quotes About Italy and FoodKasia Chojecki
 
Revolutionalizing Travel: A VacAI Update
Revolutionalizing Travel: A VacAI UpdateRevolutionalizing Travel: A VacAI Update
Revolutionalizing Travel: A VacAI Updatejoymorrison10
 
69 Girls ✠ 9599264170 ✠ Call Girls In East Of Kailash (VIP)
69 Girls ✠ 9599264170 ✠ Call Girls In East Of Kailash (VIP)69 Girls ✠ 9599264170 ✠ Call Girls In East Of Kailash (VIP)
69 Girls ✠ 9599264170 ✠ Call Girls In East Of Kailash (VIP)Escort Service
 

Último (17)

How Safe Is It To Witness Whales In Maui’s Waters
How Safe Is It To Witness Whales In Maui’s WatersHow Safe Is It To Witness Whales In Maui’s Waters
How Safe Is It To Witness Whales In Maui’s Waters
 
Italia Lucca 1 Un tesoro nascosto tra le sue mura
Italia Lucca 1 Un tesoro nascosto tra le sue muraItalia Lucca 1 Un tesoro nascosto tra le sue mura
Italia Lucca 1 Un tesoro nascosto tra le sue mura
 
Haitian culture and stuff and places and food and travel.pptx
Haitian culture and stuff and places and food and travel.pptxHaitian culture and stuff and places and food and travel.pptx
Haitian culture and stuff and places and food and travel.pptx
 
a presentation for foreigners about how to travel in Germany.
a presentation for foreigners about how to travel in Germany.a presentation for foreigners about how to travel in Germany.
a presentation for foreigners about how to travel in Germany.
 
Hoi An Ancient Town, Vietnam (越南 會安古鎮).ppsx
Hoi An Ancient Town, Vietnam (越南 會安古鎮).ppsxHoi An Ancient Town, Vietnam (越南 會安古鎮).ppsx
Hoi An Ancient Town, Vietnam (越南 會安古鎮).ppsx
 
question 2: airplane vocabulary presentation
question 2: airplane vocabulary presentationquestion 2: airplane vocabulary presentation
question 2: airplane vocabulary presentation
 
Sicily Holidays Guide Book: Unveiling the Treasures of Italy's Jewel
Sicily Holidays Guide Book: Unveiling the Treasures of Italy's JewelSicily Holidays Guide Book: Unveiling the Treasures of Italy's Jewel
Sicily Holidays Guide Book: Unveiling the Treasures of Italy's Jewel
 
Authentic Travel Experience 2024 Greg DeShields.pptx
Authentic Travel Experience 2024 Greg DeShields.pptxAuthentic Travel Experience 2024 Greg DeShields.pptx
Authentic Travel Experience 2024 Greg DeShields.pptx
 
Where to Stay in Lagos, Portugal.pptxasd
Where to Stay in Lagos, Portugal.pptxasdWhere to Stay in Lagos, Portugal.pptxasd
Where to Stay in Lagos, Portugal.pptxasd
 
Enjoy ➥8448380779▻ Call Girls In Sector 62 Noida Escorts Delhi NCR
Enjoy ➥8448380779▻ Call Girls In Sector 62 Noida Escorts Delhi NCREnjoy ➥8448380779▻ Call Girls In Sector 62 Noida Escorts Delhi NCR
Enjoy ➥8448380779▻ Call Girls In Sector 62 Noida Escorts Delhi NCR
 
Enjoy ➥8448380779▻ Call Girls In Sector 74 Noida Escorts Delhi NCR
Enjoy ➥8448380779▻ Call Girls In Sector 74 Noida Escorts Delhi NCREnjoy ➥8448380779▻ Call Girls In Sector 74 Noida Escorts Delhi NCR
Enjoy ➥8448380779▻ Call Girls In Sector 74 Noida Escorts Delhi NCR
 
Aeromexico Airlines Flight Name Change Policy
Aeromexico Airlines Flight Name Change PolicyAeromexico Airlines Flight Name Change Policy
Aeromexico Airlines Flight Name Change Policy
 
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
 
Moroccan Architecture presentation ( Omar & Yasine ).pptx
Moroccan Architecture presentation ( Omar & Yasine ).pptxMoroccan Architecture presentation ( Omar & Yasine ).pptx
Moroccan Architecture presentation ( Omar & Yasine ).pptx
 
Inspirational Quotes About Italy and Food
Inspirational Quotes About Italy and FoodInspirational Quotes About Italy and Food
Inspirational Quotes About Italy and Food
 
Revolutionalizing Travel: A VacAI Update
Revolutionalizing Travel: A VacAI UpdateRevolutionalizing Travel: A VacAI Update
Revolutionalizing Travel: A VacAI Update
 
69 Girls ✠ 9599264170 ✠ Call Girls In East Of Kailash (VIP)
69 Girls ✠ 9599264170 ✠ Call Girls In East Of Kailash (VIP)69 Girls ✠ 9599264170 ✠ Call Girls In East Of Kailash (VIP)
69 Girls ✠ 9599264170 ✠ Call Girls In East Of Kailash (VIP)
 

Destaque

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destaque (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Make a shorter list by entering letters via DTMF

  • 1. How to make a list in a voice app shorter by entering letters via DTMF Pavel Růžička, January 2012 T-Mobile Czech Republic
  • 2. Agenda •List – hidden treasure of VoiceObjects •When a list is too long •How to enter letters via DTMF •Let the user navigate by a letter •Optimization •Summary •Example to import into your project •Resources 2 Pavel Růžička, January 2012 T-Mobile Czech Republic
  • 3. List object – a treasure of VoiceObjects •allows users go through collection of data •without significant effort of a developer •it's like an audible excel sheet with unified navigation 3 Pavel Růžička, January 2012 T-Mobile Czech Republic
  • 4. When a list is too long Afghanistan Albania Algeria American Samoa • Imagine a list of countries Andorra Angola Anguilla Antarctica Antigua And Barbuda • Isn't it cruel to let the user go Argentina Armenia through 216 items to reach Aruba Australia Turkey? Austria Azerbaijan Bahamas Bahrain Bangladesh Barbados Belarus Belgium Belize Benin Bermuda Bhutan Bolivia Bosnia And Herzegowina ... ... Trinidad And Tobago Tunisia Turkey ... ... Zimbabwe 4 Pavel Růžička, January 2012 T-Mobile Czech Republic
  • 5. Make the user closer to the target Taiwan Tajikistan Tanzania • make the list alphabetically Thailand Togo ordered Tokelau Tonga Trinidad And Tobago Tunisia • offer items starting with a chosen letter Turkey Turkmenistan Turks And Caicos Islands Tuvalu • approximatelly 12 items starting with the same letter • Turkey is 10th • isn't that nice?  5 Pavel Růžička, January 2012 T-Mobile Czech Republic
  • 6. Is it possible to enter letters via DTMF? • of course by CCITT it recognizes also A,B,C and D • but not on common phones. It's too little, it's useless. • there is other possibility – users know it from sending SMS • e.g. for B you need to press the key twice A-2 B - 22 ... O - 666 ... Z - 9999 6 Pavel Růžička, January 2012 T-Mobile Czech Republic
  • 7. What do we need to get a letter from DTMF digits? • input object with grammar for 1-4 digits • good explanation what you expect from the user • translation collection • VALUESUBSTITUTION expression 7 Pavel Růžička, January 2012 T-Mobile Czech Republic
  • 8. Input with TTG grammar and with translation expression 8 Pavel Růžička, January 2012 T-Mobile Czech Republic
  • 9. Translation the input result value 9 Pavel Růžička, January 2012 T-Mobile Czech Republic
  • 10. Digits are translated – but what if user needs to enter a real digit? • the approach of translation prevents users to enter the real value of a key • we should offer an alternative how to enter any digit • only one key at once is valid for generating a letter • we can recognize different key as a request for suppressing the translation • if the entered value is not in the translation collection – return the first pressed key • 22 will be translated as B • 963, 7*, 54 are not in translation collection only first digit will be taken: 9, 7, 5 10 Pavel Růžička, January 2012 T-Mobile Czech Republic
  • 11. Check if the entered value can be translated • FINDROW expression to check if the value exists in the translation collection 11 Pavel Růžička, January 2012 T-Mobile Czech Republic
  • 12. Translation or assign unchanged value? • CONDASSIGN expression to conditionally assign translated or unchanged value • LEFT to return only the first pressed digit (unchanged value) 12 Pavel Růžička, January 2012 T-Mobile Czech Republic
  • 13. Wrap it to sequence with confirmation • Confirmation object to confirm and, if necessary, to correct information from the preceding dialog 13 Pavel Růžička, January 2012 T-Mobile Czech Republic
  • 14. Long list - let the user navigate by the first letter • filter out unnecessary items Taiwan • copy the collection to a temporary collection Tajikistan Tanzania and then with ITERATE and DELETEROW Thailand expressions delete redundant items Togo Tokelau Tonga Trinidad And Tobago Tunisia • scroll the list down to the first item Turkey Turkmenistan starting with chosen letter Turks And Caicos Islands Tuvalu • you need to find row index of the item going through the collection using LOOP object or ITERATE expression with INDEX • then update row index of the list • you have to ensure there is at least one item starting with the letter 14 Pavel Růžička, January 2012 T-Mobile Czech Republic
  • 15. Other optimization • include special chars to the translation collection like _ . @ # <row> <col name="key">1</col> <col name="default">.</col> </row> <row> <col name="key">11</col> <col name="default">_</col> </row> <row> <col name="key">*</col> <col name="default">@</col> </row> • since grammar allows to enter 4 digits it's good to translate 4th press of a key with only 3 letters as well as 3rd letter to help users avoid of mistyping <row> <col name="key">8</col> <col name="default">T</col> </row> <row> <col name="key">88</col> <col name="default">U</col> </row> <row> <col name="key">888</col> <col name="default">V</col> </row> <row> <col name="key">8888</col> <col name="default">V</col> </row> 15 Pavel Růžička, January 2012 T-Mobile Czech Republic
  • 16. More than one letter at once • enhanced algorithm could allow to enter more than one letter at once • grammar needs to be changed • way of confirmation needs to be changed to confirm after whole input • whole input needs to be splitted by clusters of the same key to collection, then translated • real digit in the input could be followed by an asterisk (*) or by 1 wich has no meaning • could be useful for experienced users, special applications, admin interfaces • you can enter alphanumeric password, e-mail address etc... 16 Pavel Růžička, January 2012 T-Mobile Czech Republic
  • 17. Summary • create a special input for entering a letter by numbers with proper grammar • sequence with confirmation will make it much more useful • fill the translation collection and implement translation into postprocessing of the input • use the letter from the input for your alphabetically ordered list as an key for filtering or scrolling down • here is an example with the translation collection to import into your project  17 Pavel Růžička, January 2012 T-Mobile Czech Republic
  • 18. Resources • Natural Dialog Management.pdf • VoiceObjects Help 18 Pavel Růžička, January 2012 T-Mobile Czech Republic
  • 19. Pavel Růžička Programmer – Analyst Service Development Department T-Mobile Czech Republic a.s. Tomíčkova 2144/1, 149 00 Praha 4 T-Mobile: +420 603 416 974 E-Mail: pavel.ruzicka@t-mobile.cz 19 Pavel Růžička, January 2012 T-Mobile Czech Republic