title: Vosk-api python for speech-recognition. Feature for google-like speech adaption?
body: <p>So Vosk-api is a brilliant offline speech recogniser with brilliant support, however with very poor (or smartly hidden) documentation, at the moment of this post (14 Aug, 2020)</p>
  <p>The question is: is there any kind of replacement of <strong>google-speech-recognizer</strong> feature, which allows additional transcription improvement by speech adaptation?</p>
  <p>E.g.</p>
  <pre><code>&quot;config&quot;: {
      &quot;encoding&quot;:&quot;LINEAR16&quot;,
      &quot;sampleRateHertz&quot;: 8000,
      &quot;languageCode&quot;:&quot;en-US&quot;,
      &quot;speechContexts&quot;: [{
        &quot;phrases&quot;: [&quot;weather&quot;]
      }]
  }
  </code></pre>
  <p>For Google this config means that phrase <strong>weather</strong> will have more priority, with respect to, say, <strong>whether</strong> which sounds the same.</p>
  <p>Or class tokens?
  I understand that it may not be implemented in Vosk for python3, but still...</p>
  <p>Here are references:</p>
  <p><a href="https://cloud.google.com/speech-to-text/docs/class-tokens" rel="nofollow noreferrer">https://cloud.google.com/speech-to-text/docs/class-tokens</a></p>
  <hr />
  <p><a href="https://cloud.google.com/speech-to-text/docs/speech-adaptation" rel="nofollow noreferrer">https://cloud.google.com/speech-to-text/docs/speech-adaptation</a></p>