logoalt Hacker News

mooman219 • yesterday at 9:57 PM • 2 replies • view on HN

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>;

Replies

skolos • yesterday at 10:43 PM

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.

➕ show 1 reply
Multicomp • today at 12:56 AM

WSDL - now that's a name I've not heard in a very long time!

XML Web Services were awesome, but the SOAP and XML (where the hard parts that should have been given some batteries included defaults) I think was too much of a boat anchor to overcome.

And then the ruby/rails wave came and made 'rest' JSON the Silicon Valley hearthrob, and WSDLs were out like yesterdays trash.

Are they still used in businesses IRL? Yes! I worked for one that has probably (probably) moved off of them by now, but as recently as 2023 there were still some bank-facing power with SOAP RPC .asmx endpoint servers.

I follow hypermedia.systems and htmx/datastar/alpine.js because I'm still trying to get back that powerful _web_ tech advancement rather than squeezing everything into the javascript client side workaround. Typescript is great, a good poor man's F# and leagues ahead of ES3 (which I dabbled in / torture LLMs with so my old retrocomputers can still do web things), but its still bringing along so much baggage that could be lighter weight for older devices AND fits the tech utopianist promise of the original web (which is half of why I play with computer stuff).