1 context_load grammars/bothtags5.g2g BothTags trash not_ve 2 ##context_load grammars/bothtags5,addWords=100 BothTags trash not_ve 3 context_load grammars/enroll.g2g VoiceEnroll ROOT ve 4 ##context_load grammars/enroll VoiceEnroll ROOT ve 5 context_use VoiceEnroll 6 recognize_nist v139/v139_024.nwv 0 0 VCE_Pete_Gonzalez 7 context_free VoiceEnroll 8 9 context_use BothTags 10 addword_from_last_nametag @Names VCE_Pete_Gonzalez 0 11 context_free BothTags 12 context_use VoiceEnroll 13 recognize_nist v139/v139_254.nwv 0 0 VCE_Andrew_Evans 14 context_free VoiceEnroll 15 context_use BothTags 16 addword_from_last_nametag @Names VCE_Andrew_Evans 0 17 context_free BothTags 18 context_use VoiceEnroll 19 recognize_nist v139/v139_127.nwv 0 0 VCE_Peter_Wilson 20 context_free VoiceEnroll 21 context_use BothTags 22 addword_from_last_nametag @Names VCE_Peter_Wilson 0 23 context_free BothTags 24 context_use VoiceEnroll 25 recognize_nist v139/v139_107.nwv 0 0 VCE_Edgar_Young 26 context_free VoiceEnroll 27 context_use BothTags 28 addword_from_last_nametag @Names VCE_Edgar_Young 0 29 context_free BothTags 30 context_use VoiceEnroll 31 recognize_nist v139/v139_248.nwv 0 0 VCE_John_Martinez 32 context_free VoiceEnroll 33 context_use BothTags 34 addword_from_last_nametag @Names VCE_John_Martinez 0 35 # 36 # TEXTTAGS 37 # The pattern for texttags is that we just add the texttag 38 # since pronunciation guessing is not always available we're specifying 39 # the pronunciation to be used for this text tag. 40 # If NULL appears in the transcription field (immediately after the name) 41 # then the phonetic transcription will be requested from the G2P 42 # (Grapheme-to-Phoneme) module at runtime. 43 # 44 addword @Names Jen_Parker NULL 0 V='Jen_Parker' 45 addword @Names Jennifer_Hernandez NULL 0 V='Jennifer_Hernandez' 46 addword @Names Barb_Baker NULL 0 V='Barb_Baker' 47 addword @Names Elaine NULL 0 V='Elaine' 48 addword @Names David NULL 0 V='David' 49 50 # 51 # RECOGNITION 52 # prepare the recognition context for recognition 53 context_save bothtags5_saved.g2g 54 # trouble starts 55 context_free BothTags 56 context_unload BothTags 57 context_load bothtags5_saved.g2g BothTagsNew trash not_ve 58 # trouble ends 59 60 context_use BothTagsNew 61 context_compile 62 63 # 64 # ACTUAL RECOGNITION UTTERANCES 65 # 66 # These utterance test that we're able to recognize the voicetags 67 recognize_nist v139/v139_077.nwv 0 0 phone delete VCE_Pete_Gonzalez 68 recognize_nist v139/v139_040.nwv 0 0 phone delete VCE_Peter_Wilson 69 recognize_nist v139/v139_021.nwv 0 0 phone delete VCE_Edgar_Young 70 recognize_nist v139/v139_206.nwv 0 0 phone delete VCE_Andrew_Evans 71 recognize_nist v139/v139_103.nwv 0 0 phone delete VCE_John_Martinez 72 # 73 # CMD: context_reset 74 # These utterances test that we're able to recognize the texttags 75 recognize_nist v139/v139_113.nwv 0 0 phone delete Jen_Parker 76 recognize_nist v139/v139_067.nwv 0 0 phone delete Jennifer_Hernandez 77 recognize_nist v139/v139_202.nwv 0 0 phone delete Barb_Baker 78 recognize_nist v139/v139_007.nwv 0 0 phone delete Elaine 79 recognize_nist v139/v139_189.nwv 0 0 phone delete David 80 # 81 # 82 acousticstate_reset 83 recognize_nist m252/m252a12e.nwv 0 0 forward 84 recognize_nist m252/m252a22e.nwv 0 0 traffic 85 recognize_nist m252/m252a10e.nwv 0 0 changer 86 recognize_nist m252/m252a3fe.nwv 0 0 cd player 87 recognize_nist m252/m252a11e.nwv 0 0 traffic information 88 recognize_nist m252/m252a21e.nwv 0 0 traffic memory 89 recognize_nist m252/m252a24e.nwv 0 0 fahrenheit 90 context_free BothTagsNew 91 context_unload BothTagsNew 92 93 context_unload VoiceEnroll 94