Documentation ¶
Index ¶
Constants ¶
View Source
const STR_EYE_COLOR_BLUE = "str_eye_color_blue"
View Source
const STR_EYE_COLOR_GREEN = "str_eye_color_green"
View Source
const STR_EYE_COLOR_ORANGE = "str_eye_color_orange"
View Source
const STR_EYE_COLOR_PURPLE = "str_eye_color_purple"
View Source
const STR_EYE_COLOR_SAPPHIRE = "str_eye_color_sapphire"
View Source
const STR_EYE_COLOR_TEAL = "str_eye_color_teal"
View Source
const STR_EYE_COLOR_TEAL2 = "str_eye_color_teal2"
View Source
const STR_EYE_COLOR_YELLOW = "str_eye_color_yellow"
View Source
const STR_FOR = "str_for"
View Source
const STR_ME = "str_me"
View Source
const STR_NAME_IS = "str_name_is"
View Source
const STR_NAME_IS2 = "str_name_is1"
View Source
const STR_NAME_IS3 = "str_name_is2"
View Source
const STR_SELF = "str_self"
View Source
const STR_VOLUME_HIGH = "str_volume_high"
View Source
const STR_VOLUME_LOUD = "str_volume_loud"
View Source
const STR_VOLUME_LOW = "str_volume_low"
View Source
const STR_VOLUME_MEDIUM = "str_volume_medium"
View Source
const STR_VOLUME_MEDIUM_HIGH = "str_volume_medium_high"
View Source
const STR_VOLUME_MEDIUM_LOW = "str_volume_medium_low"
View Source
const STR_VOLUME_MUTE = "str_volume_mute"
View Source
const STR_VOLUME_NORMAL = "str_volume_normal"
View Source
const STR_VOLUME_NOTHING = "str_volume_nothing"
View Source
const STR_VOLUME_OFF = "str_volume_off"
View Source
const STR_VOLUME_QUIET = "str_volume_quiet"
View Source
const STR_VOLUME_REGULAR = "str_volume_regular"
View Source
const STR_VOLUME_SILENT = "str_volume_silent"
View Source
const STR_VOLUME_ZERO = "str_volume_zero"
View Source
const STR_WEATHER_FORECAST = "str_weather_forecast"
View Source
const STR_WEATHER_IN = "str_weather_in"
View Source
const STR_WEATHER_THE_DAY_AFTER_TOMORROW = "str_weather_the_day_after_tomorrow"
View Source
const STR_WEATHER_THIS_AFTERNOON = "str_weather_this_afternoon"
View Source
const STR_WEATHER_TOMORROW = "str_weather_tomorrow"
View Source
const STR_WEATHER_TONIGHT = "str_weather_tonight"
Variables ¶
View Source
var ALL_STR []string = []string{
"str_weather_in",
"str_weather_forecast",
"str_weather_tomorrow",
"str_weather_the_day_after_tomorrow",
"str_weather_tonight",
"str_weather_this_afternoon",
"str_eye_color_purple",
"str_eye_color_blue",
"str_eye_color_sapphire",
"str_eye_color_yellow",
"str_eye_color_teal",
"str_eye_color_teal2",
"str_eye_color_green",
"str_eye_color_orange",
"str_me",
"str_self",
"str_volume_low",
"str_volume_quiet",
"str_volume_medium_low",
"str_volume_medium",
"str_volume_normal",
"str_volume_regular",
"str_volume_medium_high",
"str_volume_high",
"str_volume_loud",
"str_volume_mute",
"str_volume_nothing",
"str_volume_silent",
"str_volume_off",
"str_volume_zero",
"str_name_is",
"str_name_is1",
"str_name_is2",
"str_for",
}
for grammer
View Source
var DownloadStatus string = "not downloading"
View Source
var URLPrefix string = "https://github.com/kercre123/vosk-models/raw/main/"
View Source
var ValidVoskModels []string = []string{"en-US", "it-IT", "es-ES", "fr-FR", "de-DE", "pt-BR", "pl-PL", "zh-CN"}
Functions ¶
func DownloadFile ¶
func DownloadVoskModel ¶
func DownloadVoskModel(language string)
func PrintDownloadPercent ¶
func ReloadVosk ¶
func ReloadVosk()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.