LumenVox project

toy26
Posts: 4
Member Since:
2006-12-07

Hello,

Is there any LumenVox experts here?

I need to develop an application to ask by phone (in French and English) the Canadian postal code of our clients for billing verification when they call us. The postal code consists of: a letter, digit, letter, digit, letter and digit (ie: J5N1G6)

Is it possible to program our software to search for a letter only or digit only regarding of the order in the postal code. ie: When the person begin to talk, the software search only for a letter for the first word(J), only a digit for the second (5), only a letter for the third word (N)...

I searched on the LumenVox website for these informations without succes.

I'd like the software stop searching after only the sixth word or after 5 second of silence.

After the sixth word, the system repeat the postal code with the message "Is it correct?" yes|no
yes=accepted and no=ask again the postal code.

Is it possible?

I have modified an existing .gram (ABNFDigits.gram) file to accept the letters.


#ABNF 1.0 UTF-8;

language fr-CA;

mode voice;

tag-format ;

root $Digits;

$Digit = (UN:"1" |
DEUX:"2" |
TROIS:"3" |
QUATRE:"4" |
CINQ:"5" |
SIX:"6" |
SEPT:"7" |
HUIT:"8" |
NEUF:"9" |
ZERO:"0" |
a:"a" |
b:"b" |
c:"c" |
d:"d" |
e:"e" |
f:"f" |
g:"g" |
h:"h" |
i:"i" |
j:"j" |
k:"k" |
l:"l" |
m:"m" |
o:"o" |
p:"p" |
q:"q" |
r:"r" |
s:"s" |
t:"t" |
u:"u" |
v:"v" |
w:"w" |
x:"x" |
y:"y" |
z:"z" );

$Digits = {$=''} ($Digit {$+=$$});

Do I need to modify this file for this purpose? or I change the setting of the context in extensions_custom.conf?


exten => s,1,Answer
exten => s,n,Wait(1)
exten => s,n,SpeechCreate
exten => s,n,SpeechLoadGrammar(1234567890|/etc/lumenvox/Lang/BuiltinGrammars/test2.gram)
exten => s,n,SpeechActivateGrammar(1234567890)
exten => s,n,SpeechBackground(beep)
exten => s,n,Verbose(1|Result was ${SPEECH_TEXT(0)})
exten => s,n,Verbose(1|Confidence was ${SPEECH_SCORE(0)})
exten => s,n,Goto(s,1)

If that works, I will buy more license to install on our production server.

Thanks



SkykingOH
Posts: 9538
Member Since:
2007-12-17
The expert on speech

The expert on speech recognition and Lumenvox is Ethan Schroeder.

He can assist you with the programming and licenses.

You can contact him at this email

Tell him Skyking sent you.

--

Scott

aka "Skyking"



toy26
Posts: 4
Member Since:
2006-12-07
The expert on speech

Thanks Skyking for the contact.

I contact Ethan right now.

Toy26



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.