diff --git a/psConfig/tasks/gpsr/gpsr.conf b/psConfig/tasks/gpsr/gpsr.conf index 3951f4ea008ba5cde147f0fb6f7d7fb329b43657..0fc1ccd3c197b4268ec468da2c4903901a80f4f3 100644 --- a/psConfig/tasks/gpsr/gpsr.conf +++ b/psConfig/tasks/gpsr/gpsr.conf @@ -6,6 +6,14 @@ timeout=8; openDeviceDirectly=yes; alsadevice=sysdefault; +[pocketsphinxinstance] +name=Questions; +dict=../../../psGrammar/dictionary/tobiDic.dic; +jsgf=../../../psGrammar/tasks/gpsr/questions.jsgf; +rsbscope=/speechrec/psa/questions; +bestpath=no; +autoload=yes; + [pocketsphinxinstance] name=Commands; dict=../../../psGrammar/dictionary/tobiDic.dic; @@ -56,3 +64,4 @@ autoload=yes; + diff --git a/psGrammar/dictionary/tobiDic.dic b/psGrammar/dictionary/tobiDic.dic index 0d821fe60f34ff69cad604355d2bd8b48ecfa325..3bfed86779b19aadb5c03793898c05394fd9438e 100644 --- a/psGrammar/dictionary/tobiDic.dic +++ b/psGrammar/dictionary/tobiDic.dic @@ -1,5 +1,5 @@ !exclamation-point EH K S K L AH M EY SH AH N P OY N T -!exclamation-point EH K S K L AH M EY SH AH N P OY N T +!exclamation-point(2) EH K S K L AH M EY SH AH N P OY N T "close-quote K L OW Z K W OW T "double-quote D AH B AH L K W OW T "end-of-quote EH N D AH V K W OW T @@ -6094,8 +6094,8 @@ asimov AE S IH M AA V asimov's AE S IH M AA V Z asimov's(2) AE Z IH M AA V Z asimov(2) AE Z IH M AA V -asimow AE S IH M OW asimov(3) AE S IH M OH +asimow AE S IH M OW asinine AE S AH N AY N ask AE S K aska AE S K AH @@ -9520,6 +9520,7 @@ beatify B IY AE T AH F AY beating B IY T IH NG beatings B IY T IH NG Z beatle B IY T AH L +beatlemania B IY T AH L M EY N IY AH beatles B IY T AH L Z beatles' B IY T AH L Z beatnik B IY T N IH K @@ -18104,6 +18105,7 @@ captain K AE P T AH N captain's K AE P T AH N Z captaining K AE P T AH N IH NG captains K AE P T AH N Z +captcha K AE P T CH AA caption K AE P SH AH N captioned K AE P SH AH N D captioning K AE P SH AH N IH NG @@ -20262,6 +20264,7 @@ chastising CH AE S T AY Z IH NG chastity CH AE S T AH T IY chat CH AE T chataqua SH AH T AA K W AH +chatbot CH AE T B AA T chateau SH AE T OW chateaux SH AH T OW chatfield CH AE T F IY L D @@ -20966,16 +20969,16 @@ choco CH AO K AO cocopops CH AO K AO P AA P S chocopops CH AO K AO P AA P S chocolate_cereals CH AO K L AH T S IH R IY AH L Z -chocosticks CH AO K S T IH K S chococrispies CH AO K AO K R IH S P IY S chocolat CH AA K L AH T -chocosticks CH AO K OW S T IH K S chocolate CH AO K L AH T chocolate_cookies CH AO K L AH T K UH K IY Z chocolate_milk CH AO K L AH T M IH L K chocolatemilk CH AO K L AH T M IH L K chocolates CH AO K L AH T S chocolatology CH AA K L AH T AA L AH JH IY +chocosticks CH AO K S T IH K S +chocosticks(2) CH AO K OW S T IH K S chodorow CH OW D ER OW choe CH OW choi CH OY @@ -36986,6 +36989,7 @@ eloisa EH L OY S AH eloise IH L OY Z eloise(2) EH L OW IY Z elommal IH L OW M AH L +elon IY L AO NG elongate IH L AO NG G EY T elongated IH L AO NG G EY T AH D elongation IY L AO NG G EY SH AH N @@ -44693,6 +44697,7 @@ freshley F R EH SH L IY freshly F R EH SH L IY freshman F R EH SH M AH N freshmen F R EH SH M IH N +fresh_milk F R EH SH M IH L K freshness F R EH SH N AH S freshour F R EH S AW R freshwater F R EH SH W AO T ER @@ -51171,6 +51176,7 @@ gynecologists G AY N AH K AA L AH JH AH S T S gynecologists(2) G AY N AH K AA L AH JH AH S S gynecologists(3) G AY N AH K AA L AH JH AH S gynecology G AY N AH K AA L AH JH IY +gynesh G IH N AH SH gynex JH IH N AH K S gyohten G Y OW T AH N gyosai G Y OW S EY @@ -57725,6 +57731,8 @@ iceskate AY S S K EY T iceskate(2) AY S K EY T iceskating AY S S K EY T IH NG iceskating(2) AY S K EY T IH NG +icetea AY S T IY +ice-tea AY S T IY ich IH CH ichi IY CH IY ichikawa IH CH IY K AA W AH @@ -61634,6 +61642,7 @@ jeansonne JH EH N S AH N jeb JH EH B jech JH EH K jed JH EH D +jedi JH EH D AY jedlicka Y IH D L IH S K AH jee JH IY jeep JH IY P @@ -69322,6 +69331,7 @@ leola L EH L AH leoma L IH OW M AH leominster L IY OW M IH N S T ER leon L IY AA N +leon(2) L IY AH N leon's L IY AA N Z leona L IY OW N AH leonara L EH N AA R AH @@ -76537,6 +76547,7 @@ meadow M EH D OW meadowland M EH D OW L AE N D meadowlands M EH D OW L AE N D Z meadowlark M EH D OW L AA R K +meadow_milk M EH D OW M IH L K meadows M EH D OW Z meads M IY D Z meager M IY G ER @@ -81163,6 +81174,8 @@ muench M Y UW NG K muenchen M Y UW N CH AH N muenchow M UW N CH AW muenster M Y UW N S T ER +muesli M Y S L IH +muesli_cereals M Y S L IH S IH R IY AH L Z muetzel M Y UW T Z AH L muff M AH F muffin M AH F AH N @@ -82117,6 +82130,7 @@ nanny N AE N IY nano N AA N OW nano(2) N AE N OW nanobaby N AE N OW B EY B IY +nanobot N AE N OW B AA T nanogram N AA N OW G R AE M nanogram(2) N AE N OW G R AE M nanograms N AE N OW G R AE M Z @@ -85181,7 +85195,7 @@ oblak(2) OW B L AE K oblander AA B L AH N D ER oblast AA B L AE S T oblate AA B L EY T -oblates AA B L EY T S +oblates AA B L EY T obligate AA B L AH G EY T obligated AA B L AH G EY T IH D obligates AA B L AH G EY T S @@ -98542,6 +98556,7 @@ redbird R EH D B ER D redbook R EH D B UH K redbowl R EH D B OW L redbud R EH D B AH D +red_bull R EH D B UH L redbull R EH D B UH L redburn R EH D B ER N redcay R EH D K EY @@ -98701,6 +98716,7 @@ redshaw R EH D SH AO redskin R EH D S K IH N redskins R EH D S K IH N Z redskins' R EH D S K IH N Z +red_spritzer R EH D S P R IH T S ER redstone R EH D S T OW N redstone's R EH D S T OW N Z reduce R AH D UW S @@ -111352,6 +111368,7 @@ smartish S M AA R T IH SH smartly S M AA R T L IY smartmoney S M AA R T M AH N IY smartness S M AA R T N IH S +smartphone S M AA R T F OW N smarts S M AA R T S smartt S M AA R T smarty S M AA R T IY @@ -111497,6 +111514,7 @@ smoothen S M UW DH IH N smoothens S M UW DH IH N Z smoother S M UW DH ER smoothest S M UW DH AH S T +smoothie S M UW DH IH smoothing S M UW DH IH NG smoothly S M UW DH L IY smoothness S M UW DH N AH S @@ -120378,7 +120396,7 @@ tia T IY AH tiaacref T IY AH K R EH F tiaacref's T IY AH K R EH F S tiago T IY AA G OW -tiago (2) T IH AH G OW +tiago(2) T IH AH G OW tian T Y AA N tiananmen T IY EH N AE N M EH N tianjin T IY AE N JH IH N @@ -122927,6 +122945,7 @@ tubman T AH B M AH N tubs T AH B Z tubular T UW B Y AH L ER tubule T UW B Y UW L +tuc T UH K tucci T UW CH IY tucci's T UW CH IY S tucciarone T UW CH ER OW N IY @@ -123801,7 +123820,7 @@ unavoidable AH N AH V OY D AH B AH L unavoidably AH N AH V OY D AH B L IY unaware AH N AH W EH R unawares AH N AH W EH R Z -unbalance AH N B AE L AH N Stu +unbalance AH N B AE L AH N S unbalanced AH N B AE L AH N S T unbearable AH N B EH R AH B AH L unbearably AH N B EH R AH B L IY @@ -128380,6 +128399,7 @@ wasmer W AO S AH M ER wasmund W AO Z M AH N D wasmuth W AO Z M UW TH wasn't W AA Z AH N T +wasnt W AA Z AH N T wasn't(2) W AH Z AH N T wason W AA S AH N wasp W AA S P @@ -130092,6 +130112,7 @@ whoever's HH UW EH V ER Z whole HH OW L wholehearted HH OW L HH AA R T IH D wholeheartedly HH OW L HH AA R T IH D L IY +whole_milk HH OW L M IH L K wholeness HH OW L N IH S wholes HH OW L Z wholesale HH OW L S EY L @@ -130559,7 +130580,7 @@ willhoit W IH L HH OY T willhoite W IH L HH OY T willi W IH L IY william W IH L Y AH M -william W IH L AY AE M +william(2) W IH L AY AE M william's W IH L Y AH M Z williams W IH L Y AH M Z williams' W IH L Y AH M Z @@ -132519,6 +132540,7 @@ yonce Y AA N S yonder Y AA N D ER yoneyama Y OW N IY AA M AH yong Y AO NG +yonge Y AH NG yongbyon Y AO NG B Y AO N yongbyon's Y AO NG B Y AO N Z yongchaiyudh Y AO NG CH EY Y UW D @@ -133553,6 +133575,7 @@ zucker Z AH K ER zucker's Z AH K ER Z zucker's(2) Z UW K ER Z zucker(2) Z UW K ER +zuckerberg Z AH K ER B ER G zuckerman Z AH K ER M AH N zuckerman's Z AH K ER M AH N Z zuckerman's(2) Z UW K ER M AH N Z @@ -133663,19 +133686,4 @@ zywicki Z IH W IH K IY {brace B R EY S {left-brace L EH F T B R EY S }close-brace K L OW Z B R EY S -}right-brace R AY T B R EY S -fresh_milk F R EH SH M IH L K -icetea AY S T IY -ice-tea AY S T IY -meadow_milk M EH D OW M IH L K -muesli M Y S L IH -muesli_cereals M Y S L IH S IH R IY AH L Z -oblates AA B L EY T S -red_bull R EH D B UH L -red_spritzer R EH D S P R IH T S ER -whole_milk HH OW L M IH L K -tuc T UH K -smoothie S M UW DH IH - -leon L IY AH N -gynesh G IH N AH SH +}right-brace R AY T B R EY S \ No newline at end of file diff --git a/psGrammar/tasks/gpsr/questions.jsgf b/psGrammar/tasks/gpsr/questions.jsgf index c428c7f68973a85991aeeabd78f097bd0cc50599..80fcc3bb04104a71363cd400e977e2968afe6fe3 100644 --- a/psGrammar/tasks/gpsr/questions.jsgf +++ b/psGrammar/tasks/gpsr/questions.jsgf @@ -4,7 +4,7 @@ grammar questions; public <question> = [(tobi | biron | robot)] (<quest_predef>); public <quest_predef> = <predef1> | <predef2> | <predef3> | <predef4> | <predef5> | <predef6> | <predef7> | <predef8> | <predef9> | <predef10> | <predef11> | <predef12> | <predef13> | <predef14> | <predef15> | <predef16>|<predef17> |<predef18> |<predef19> |<predef20> |<predef21> |<predef22> |<predef23> |<predef24> |<predef25> |<predef26> |<predef27> | <predef28> | <predef29> | <predef30> | <predef31> | <predef32> | <predef33> | <predef34> | <predef35> | <predef36> | <predef37> | <predef38> | <predef39> | <predef40> | <predef41> | <predef42> | <predef43>|<predef44> |<predef45> |<predef46> |<predef47> |<predef48> |<predef49> |<predef50>; -<predef1> = (whos the most handsome person in canada); +<predef1> = (who s the most handsome person in canada); <predef2> = (how many time zones are there in canada); <predef3> = (whats the longest street in the world); <predef4> = (how long is yonge street in ontario); @@ -18,7 +18,7 @@ public <quest_predef> = <predef1> | <predef2> | <predef3> | <predef4> | <predef5 <predef12> = (why is canada named canada); <predef13> = (when was the mounted police formed); <predef14> = (when was the royal canadian mounted police formed); -<predef15> = (how big is the rcmp); +<predef15> = (how big is the r c m p); <predef16> = (what else is montreal called); <predef17> = (where is the hotel de glace located); <predef18> = (how many tons of ice are required to build the hotel de glace); @@ -39,11 +39,11 @@ public <quest_predef> = <predef1> | <predef2> | <predef3> | <predef4> | <predef5 <predef33> = (what was the first computer bug); <predef34> = (name all of the robots on mars); <predef35> = (who is the worlds first android); -<predef36> = (what is a mechanical Knight); +<predef36> = (what is a mechanical knight); <predef37> = (what was the first computer in pass the turing test); -<predef38> = (what does moravecs paradox state); +<predef38> = (what does moravec s paradox state); <predef39> = (what is the ai knowledge engineering bottleneck); -<predef40> = (why is Elon musk is worried about ais impact on humanity); +<predef40> = (why is elon musk is worried about ais impact on humanity); <predef41> = (do you think robots are a threat to humanity); <predef42> = (what is a chatbot); <predef43> = (are self driving cars safe); @@ -53,4 +53,4 @@ public <quest_predef> = <predef1> | <predef2> | <predef3> | <predef4> | <predef5 <predef47> = (is mark zuckerberg a robot); <predef48> = (who is the inventor of the apple i microcomputer); <predef49> = (who is considered to be the first computer programmer); -<predef50> = (which program do Jedi use to open pdf files); +<predef50> = (which program do jedi use to open p d f files);