Documentation
¶
Index ¶
Constants ¶
View Source
const STR_EIGHT = "str_eight"
View Source
const STR_EIGHTEEN = "str_eighteen"
View Source
const STR_EIGHTY = "str_eighty"
View Source
const STR_ELEVEN = "str_eleven"
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_FIFTEEN = "str_fifteen"
View Source
const STR_FIFTY = "str_fifty"
View Source
const STR_FIVE = "str_five"
View Source
const STR_FOR = "str_for"
View Source
const STR_FOUR = "str_four"
View Source
const STR_FOURTEEN = "str_fourteen"
View Source
const STR_FOURTY = "str_fourty"
View Source
const STR_HOUR = "str_hour"
View Source
const STR_ME = "str_me"
View Source
const STR_MINUTE = "str_minute"
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_NINE = "str_nine"
View Source
const STR_NINETEEN = "str_nineteen"
View Source
const STR_NINETY = "str_ninety"
View Source
const STR_ONE = "str_one"
View Source
const STR_ONE_HOUR = "str_one_hour"
View Source
const STR_ONE_HOUR_ALT = "str_one_hour_alt"
View Source
const STR_ONE_HUNDRED = "str_one_hundred"
View Source
const STR_SECOND = "str_second"
View Source
const STR_SELF = "str_self"
View Source
const STR_SEVEN = "str_seven"
View Source
const STR_SEVENTEEN = "str_seventeen"
View Source
const STR_SEVENTY = "str_seventy"
View Source
const STR_SIX = "str_six"
View Source
const STR_SIXTEEN = "str_sixteen"
View Source
const STR_SIXTY = "str_sixty"
View Source
const STR_TEN = "str_ten"
View Source
const STR_THIRTEEN = "str_thirteen"
View Source
const STR_THIRTY = "str_thirty"
View Source
const STR_THREE = "str_three"
View Source
const STR_TWELVE = "str_twelve"
View Source
const STR_TWENTY = "str_twenty"
View Source
const STR_TWO = "str_two"
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"
View Source
const STR_ZERO = "str_zero"
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",
"str_zero",
"str_one",
"str_two",
"str_three",
"str_four",
"str_five",
"str_six",
"str_seven",
"str_eight",
"str_nine",
"str_ten",
"str_eleven",
"str_twelve",
"str_thirteen",
"str_fourteen",
"str_fifteen",
"str_sixteen",
"str_seventeen",
"str_eighteen",
"str_nineteen",
"str_twenty",
"str_thirty",
"str_fourty",
"str_fifty",
"str_sixty",
"str_seventy",
"str_eighty",
"str_ninety",
"str_one_hundred",
"str_one_hour",
"str_one_hour_alt",
"str_hour",
"str_minute",
"str_second",
}
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", "tr-TR", "ru-RU", "nt-NL", "uk-UA", "vi-VN"}
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.