← Back to context

Comment by mooman219

1 hour ago

This feels like we're going back to the past again with CMU's Sphinx4 in Java. It worked way better than I would ever have expected it to for being more than a decade old. It relied on the user defining a grammar of valid words and different flows through a standard format (Java Speech API Grammar Format). I wonder if we'll approach that again for these models just like how MCPs act like WSDLs in spirit. Great results getting whistle working so well for you!

  #JSGF V1.0;
  grammar commands;

  public <action> = open | close | delete ;
  public <object> = file | window | application ;
  public <command> = <action> [the] <object>;

Just ran some tests on my phrases:

- my whistle setup (tested can run on echo show with <1s response): 206 correct out of 208

These were not tested on echo show yet - on my pc for now:

- Vosk small, phrase grammar: 184/208

- Speech-to-Phrase 1.4.3 (Kaldi): 118/208

- suggested sphinx: 63/208 and on some examples took 13s on i7 14700k pc

looks like my customized whistle works better for me than these alternatives. But more testing wouldn't hurt.