Found a bug with jsfg option with silence utterance

0 views
Skip to first unread message

Samuel Kitono

unread,
Jul 15, 2010, 2:22:08 PM7/15/10
to VocalKit
Hey Brian,

Just to inform you when i try to set up your vocalkit with jsgf
grammar option it crashes if you use a short silence utterance.
Basically the problem is the "postNotificationOfRecognizedText"
function where hyp might be returned "null".

I kinda solved it by putting a constraint if hyp pointer is null then
post a blank message notification. Well just to let you know and
hopefully help other people as well. Otherwise your vocalkit is
awesome.

Brian King

unread,
Jul 16, 2010, 3:57:00 PM7/16/10
to voca...@googlegroups.com
Hey Samuel,
That's great that the library is helping you! There really hasn't
been much field testing to this project so I imagine there are a few
more similar bugs. Thanks for the heads up. Fork and fix if you
want!

Brian

> --
> You received this message because you are subscribed to the Google Groups "VocalKit" group.
> To post to this group, send email to voca...@googlegroups.com.
> To unsubscribe from this group, send email to vocalkit+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/vocalkit?hl=en.
>
>

Reply all
Reply to author
Forward
0 new messages