Home

Awesome

voice2json logo

voice2json is a collection of command-line tools for <strong>offline speech/intent recognition</strong> on Linux. It is free, open source (MIT), and supports 18 human languages.

From the command-line:

$ voice2json -p en transcribe-wav \
      < turn-on-the-light.wav | \
      voice2json -p en recognize-intent | \
      jq .

produces a JSON event like:

{
    "text": "turn on the light",
    "intent": {
        "name": "LightState"
    },
    "slots": {
        "state": "on"
    }
}

when trained with this template:

[LightState]
states = (on | off)
turn (<states>){state} [the] light

voice2json is <strong>optimized for</strong>:

It can be used to:

Supported speech to text systems include:


Supported Languages


Unique Features

voice2json is more than just a wrapper around open source speech to text systems!

Commands