Menu

#29 Halef crashes when grammar contains special char

1.0
wont-fix
None
2016-02-23
2015-02-20
No

callID=6430dd0a73acaf3989f83254b64b4051@141.31.8.94

hosted on TJR 196

crashed when trying to invoke the grammar

http://141.31.8.128:8080/7709/-/resources/PizzaInterview_Voice/Default/Complaint.gram

which read

"#JSGF V1.0;

grammar ROOT;
public <root> = a manager should handle the customer | asking a manager would be better | i'd give the customer a refund | id ask a manager to handle the customer | id offer the customer a refund | it would be better to ask a manager. | offering a refund would be better | the customer should get a refund;"</root>

After correcting to

"#JSGF V1.0;

grammar ROOT;
public <root> = a manager should handle the customer | asking a manager would be better | i'd give the customer a refund | id ask a manager to handle the customer | id offer the customer a refund | it would be better to ask a manager | offering a refund would be better | the customer should get a refund;"</root>

it was working. Apparently, Cairo does not like special chars such as ".". Please modify ggs to get rid of special chars going fwd.

Yours,

DSO

Discussion

  • Vikram Ramanarayanan

    • status: open --> wont-fix
     
  • Vikram Ramanarayanan

    We are currently moving away from supporting JSGF grammars since we are focusing on WFST grammars, and so this is very low on the priority list at the moment.

     

Log in to post a comment.