OpenVoiceOS / ovos-buildroot

Open Voice Operating System - Buildroot edition is a minimalistic linux OS bringing the OVOS voice assistant to embbeded, low-spec headless and/or small (touch)screen devices.
Apache License 2.0
230 stars 35 forks source link

catalan language image #42

Closed JarbasAl closed 3 years ago

JarbasAl commented 3 years ago

Bellow are the current steps needed to make an image tuned for catalan language

Bundled Plugins

Patches

Additional dependencies

Skill alternatives

For official skills not supporting catalan

Default config

under /etc/mycroft/mycroft.conf

{
  "lang": "ca-es",
  "stt": {
      "module": "chromium_stt_plug",
      "chromium_stt_plug": {
          "lang": "ca-ES"
      },
      "vosk_streaming_stt_plug": {
          "model_folder": "path/to/bundled/catalan/model/folder"
      },
      "vosk_stt_plug": {
          "model_folder": "path/to/bundled/catalan/model/folder"
      }
   },
  "tts": {
      "module": "festival",
      "festival": {
          "lang": "catalan",
          "encoding": "ISO-8859-15//TRANSLIT"
      },
      "voicerss_tts_plug": {
          "voice": "Rut",
          "lang": "ca-es"
      }
   },
  "skills": {
    "blacklisted_skills": [
          "mycroft-npr-news.mycroftai", 
          "mycroft-fallback-duck-duck-go.mycroftai", 
          "mycroft-joke.mycroftai",
          "fallback-wolfram-alpha.mycroftai"
    ]
  },
  "listener": {
      "stand_up_word": "desperta"
  },
  "hotwords": {
     "desperta": {
        "module": "snowboy_ww_plug",
        "models": [
            {"sensitivity": 0.5, "model_path": "desperta_jm.pmdl"},
            {"sensitivity": 0.5, "model_path": "desperta_jm2.pmdl"}
         ]
      },
      "no_wake_word": {
        "module": "dummy_ww_plug"
      }
   },
  "Audio": {
    "backends": {
      "vlc": {
        "active": true
      }
    },
    "default-backend": "vlc"
  }

}
JarbasAl commented 3 years ago

we could also bundle the following, which im not sure makes sense due to low quality, but if we want to be comprehensive and bundle all catalan options

additions to .conf in this case

"stt": {
    "pocketsphinx_stt_plug": {
        "acoustic-model": "path/to/bundled/catalan/hmm/folder",
        "language-model": "path/to/bundled/catalan/lm/file.lm",
        "pronounciation-dictionary": "path/to/bundled/catalan/phonemes/file.dict"
    }
  },
"tts": {
    "responsivevoice_tts_plug": {
        "voice": "CatalanMale"
    },
    "espeak": {
        "lang": "ca"
    }
 }