Skip to content

Latest commit

 

History

History
61 lines (36 loc) · 2.64 KB

readme.md

File metadata and controls

61 lines (36 loc) · 2.64 KB

Description

A stt plugin for mycroft using the google chrome browser api

List of supported languages can be found in this stackoverflow comment

This STT API has been deprecated for developers and no new keys are issued, however it still works, most likely due to it being used in chromium, a key is bundled with this plugin that has been functional for a long time

This is the same as the "google" module in mycroft-core, while this engine is supported by mycroft-core, it is impossible to use because you can't get keys, this usage (of demo key) is disapproved and a PR to fix this has been blocked

By using this plugin you will lose some privacy (mycroft backend proxy) but will have less latency and more configuration options, while keeping the same accuracy, this is the same STT engine used by Mycroft Selene

Install

pip install ovos-stt-plugin-chromium

Configuration

By default the global language used by mycroft-core will be used

  "stt": {
    "module": "ovos-stt-plugin-chromium"
  }
 

Advanced configuration

  "stt": {
    "module": "ovos-stt-plugin-chromium",
    "ovos-stt-plugin-chromium": {
        "lang": "en-US",
        "pfilter": false,
        "debug": false
    }
  }
 

pfilter - profanity filter, if True censors "bad words", only shows the first character and replaces the rest with asterisks. eg f*** you

lang - override core language and use this one instead

debug - log confidence and alternative transcriptions

Docker

The privacy benefit is dubious at best, but this plugin can be used together with ovos-stt-http-server to provide the equivalent of selene STT proxy functionality without pairing

docker run -p 8080:8080 ghcr.io/openvoiceos/google-stt-proxy:master

Public instances of ovos-stt-http-server running this plugin: