Author Message
SummusHo
Joined: Jan 13, 2014
Messages: 3
Offline
We have a ASR running on windows with grammar file stored locally. How to declare the external grammar URI in the DD?
We tried file:/// or directory c:\\xxxx. According to the log file in ASR, it is changed with prefix like this: http://Appserver_IP/MyApp/c:\\xxxxx.
JaapAsten
Joined: Nov 21, 2013
Messages: 2
Offline
Hi,

I use http://webserver:7080/grammars/housenumber.grxml

and the grammars are stored in $TOMCAT_HOME/grammars/

Jaap
SummusHo
Joined: Jan 13, 2014
Messages: 3
Offline
With your example, does that mean it is a must to host the grammar file under a web?
In fact, we tried to activate the IIS in the windows based ASR system and place the grammar file there with URI defined as http://localhost/testing.grxml. It is working fine.
Since our grammar file is quite large, we hope the ASR to retrieve the local file directly instead via unnecesary Web.
ASR vendor it is ok to retrieve file locally, but we cannot find a way to redefine the link from http://xxx to proper file path. DD seems to insert prefix http://App_server to any entries that does not start with http:://
Any advice?
ShwetaBehere
Joined: Dec 23, 2013
Messages: 136
Offline
Have you tried providing it as:
file://C:\MyProject\grammarfile.grxml
SummusHo
Joined: Jan 13, 2014
Messages: 3
Offline
it works - thanks.
ShwetaBehere
Joined: Dec 23, 2013
Messages: 136
Offline
Great !
Go to:   
Mobile view