adhearsion / ruby_speech

A ruby library for TTS & ASR document preparation
MIT License
101 stars 41 forks source link

Fix for grammar parser returning MATCH_END when partial match items exist #33

Open emcgee opened 9 years ago

emcgee commented 9 years ago

Updates to match corresponding change in FreeSWITCH mod_rayo: https://stash.freeswitch.org/projects/FS/repos/freeswitch/commits/28bc992fcedbdf7814556074da856944fcbd9bfe#src/mod/event_handlers/mod_rayo/srgs.c

benlangfeld commented 9 years ago

Could we add test cases similar to those in the FS change to demonstrate the issue?

benlangfeld commented 9 years ago

Also, a rebase on the current develop branch for a passing test suite would be awesome :)

emcgee commented 9 years ago

Rebased, although entirely unsure of how to add an appropriate spec for this based on the SRGS tests in FS.

coveralls commented 9 years ago

Coverage Status

Coverage increased (+1.08%) to 99.055% when pulling 1c72ef1def6d44b8290eccbff7ad1d6c32e5e0c2 on ringplus:develop into 57562548608ddee2a09b8b63ba13e51ad25eb982 on adhearsion:develop.