SlideShare a Scribd company logo
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

More Related Content

Recently uploaded

Winter Festivities in Italy
Winter Festivities in ItalyWinter Festivities in Italy
Winter Festivities in Italy
Time for Sicily
 
TOP 10 Historic Places To See in Kuruskhetra.
TOP 10 Historic Places To See in Kuruskhetra.TOP 10 Historic Places To See in Kuruskhetra.
TOP 10 Historic Places To See in Kuruskhetra.
ujjwalsethi113
 
How To Talk To a Live Person at American Airlines
How To Talk To a Live Person at American AirlinesHow To Talk To a Live Person at American Airlines
How To Talk To a Live Person at American Airlines
flyn goo
 
Hidden Gems of Europe - DISCOVERING THE CONTINENT'S BEST-KEPT SECRETS
Hidden Gems of Europe - DISCOVERING THE CONTINENT'S BEST-KEPT SECRETSHidden Gems of Europe - DISCOVERING THE CONTINENT'S BEST-KEPT SECRETS
Hidden Gems of Europe - DISCOVERING THE CONTINENT'S BEST-KEPT SECRETS
Kamil Uğraş TÜRKOĞLU
 
Assessing the Influence of Transportation on the Tourism Industry in Nigeria
Assessing the Influence of Transportation on the  Tourism Industry in NigeriaAssessing the Influence of Transportation on the  Tourism Industry in Nigeria
Assessing the Influence of Transportation on the Tourism Industry in Nigeria
gsochially
 
Uk Visa Complete Guide and application process
Uk Visa Complete Guide and application processUk Visa Complete Guide and application process
Uk Visa Complete Guide and application process
pandeypratikwgblindi
 
在线办理(BU毕业证书)波士顿大学毕业证录取通知书一模一样
在线办理(BU毕业证书)波士顿大学毕业证录取通知书一模一样在线办理(BU毕业证书)波士顿大学毕业证录取通知书一模一样
在线办理(BU毕业证书)波士顿大学毕业证录取通知书一模一样
v6ldcxuq
 
The Power of a Glamping Go-To-Market Accelerator Plan.pptx
The Power of a Glamping Go-To-Market Accelerator Plan.pptxThe Power of a Glamping Go-To-Market Accelerator Plan.pptx
The Power of a Glamping Go-To-Market Accelerator Plan.pptx
RezStream
 
Antarctica- Icy wilderness of extremes and wonder
Antarctica- Icy wilderness of extremes and wonderAntarctica- Icy wilderness of extremes and wonder
Antarctica- Icy wilderness of extremes and wonder
tahreemzahra82
 
Wayanad-The-Touristry-Heaven to the tour.pptx
Wayanad-The-Touristry-Heaven to the tour.pptxWayanad-The-Touristry-Heaven to the tour.pptx
Wayanad-The-Touristry-Heaven to the tour.pptx
cosmo-soil
 
欧洲杯开户-信誉的欧洲杯开户-正规欧洲杯开户|【​网址​🎉ac123.net🎉​】
欧洲杯开户-信誉的欧洲杯开户-正规欧洲杯开户|【​网址​🎉ac123.net🎉​】欧洲杯开户-信誉的欧洲杯开户-正规欧洲杯开户|【​网址​🎉ac123.net🎉​】
欧洲杯开户-信誉的欧洲杯开户-正规欧洲杯开户|【​网址​🎉ac123.net🎉​】
bljeremy734
 

Recently uploaded (11)

Winter Festivities in Italy
Winter Festivities in ItalyWinter Festivities in Italy
Winter Festivities in Italy
 
TOP 10 Historic Places To See in Kuruskhetra.
TOP 10 Historic Places To See in Kuruskhetra.TOP 10 Historic Places To See in Kuruskhetra.
TOP 10 Historic Places To See in Kuruskhetra.
 
How To Talk To a Live Person at American Airlines
How To Talk To a Live Person at American AirlinesHow To Talk To a Live Person at American Airlines
How To Talk To a Live Person at American Airlines
 
Hidden Gems of Europe - DISCOVERING THE CONTINENT'S BEST-KEPT SECRETS
Hidden Gems of Europe - DISCOVERING THE CONTINENT'S BEST-KEPT SECRETSHidden Gems of Europe - DISCOVERING THE CONTINENT'S BEST-KEPT SECRETS
Hidden Gems of Europe - DISCOVERING THE CONTINENT'S BEST-KEPT SECRETS
 
Assessing the Influence of Transportation on the Tourism Industry in Nigeria
Assessing the Influence of Transportation on the  Tourism Industry in NigeriaAssessing the Influence of Transportation on the  Tourism Industry in Nigeria
Assessing the Influence of Transportation on the Tourism Industry in Nigeria
 
Uk Visa Complete Guide and application process
Uk Visa Complete Guide and application processUk Visa Complete Guide and application process
Uk Visa Complete Guide and application process
 
在线办理(BU毕业证书)波士顿大学毕业证录取通知书一模一样
在线办理(BU毕业证书)波士顿大学毕业证录取通知书一模一样在线办理(BU毕业证书)波士顿大学毕业证录取通知书一模一样
在线办理(BU毕业证书)波士顿大学毕业证录取通知书一模一样
 
The Power of a Glamping Go-To-Market Accelerator Plan.pptx
The Power of a Glamping Go-To-Market Accelerator Plan.pptxThe Power of a Glamping Go-To-Market Accelerator Plan.pptx
The Power of a Glamping Go-To-Market Accelerator Plan.pptx
 
Antarctica- Icy wilderness of extremes and wonder
Antarctica- Icy wilderness of extremes and wonderAntarctica- Icy wilderness of extremes and wonder
Antarctica- Icy wilderness of extremes and wonder
 
Wayanad-The-Touristry-Heaven to the tour.pptx
Wayanad-The-Touristry-Heaven to the tour.pptxWayanad-The-Touristry-Heaven to the tour.pptx
Wayanad-The-Touristry-Heaven to the tour.pptx
 
欧洲杯开户-信誉的欧洲杯开户-正规欧洲杯开户|【​网址​🎉ac123.net🎉​】
欧洲杯开户-信誉的欧洲杯开户-正规欧洲杯开户|【​网址​🎉ac123.net🎉​】欧洲杯开户-信誉的欧洲杯开户-正规欧洲杯开户|【​网址​🎉ac123.net🎉​】
欧洲杯开户-信誉的欧洲杯开户-正规欧洲杯开户|【​网址​🎉ac123.net🎉​】
 

Featured

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
Marius 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 ChatGPT
Expeed 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 Engineerings
Pixeldarts
 
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
ThinkNow
 
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
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
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
Neil 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 2024
Albert 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 Insights
Kurio // 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 2024
Search 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 summary
SpeakerHub
 
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 Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit 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 management
MindGenius
 
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
 

Featured (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