Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
b0d5ad4f27
@ -1,7 +1,5 @@
|
||||
{
|
||||
"PORT": 5000,
|
||||
"12HOURS-FORMAT": false,
|
||||
"LANGUAGE": "fr-fr",
|
||||
"TTS_VOICE": "marytts:upmc-pierre-hsmm",
|
||||
"PAUSE_MUSIC_AFTER_HOTWORD": true
|
||||
"TTS_VOICE": "marytts:upmc-pierre-hsmm"
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ def start():
|
||||
# Supported : English French German Hungarian Italian Portuguese Swedish
|
||||
lingua_franca.load_language(lang=languages_utils.get_language_only_country())
|
||||
|
||||
# Tests
|
||||
# Register all skills
|
||||
WikipediaSkill().register()
|
||||
JokesSkill().register()
|
||||
SpotifySkill().register()
|
||||
@ -29,7 +29,6 @@ def start():
|
||||
HomeAssistantSkill().register()
|
||||
MovieMaster().register()
|
||||
|
||||
# TODO: movies master skill
|
||||
# TODO: calculator skill
|
||||
# TODO: google/ddg help skill
|
||||
# TODO: unit converter skill
|
||||
|
@ -21,11 +21,11 @@ def get_language_only_country():
|
||||
|
||||
def get_language_full_name(name=None):
|
||||
"""
|
||||
Return for exemple french for fr-fr, english for en-en, etc (savec in languages.json in the config folder)
|
||||
Return for exemple french for fr-fr, english for en-en, etc (saved in languages.json in the config folder)
|
||||
|
||||
Return english if the language isn't found in the languages.json file
|
||||
"""
|
||||
config_json = json.load(open(path + "/config/languages.json", encoding='utf-8', mode='r'))
|
||||
config_json = json.load(open(path + "/utils/config/languages.json", encoding='utf-8', mode='r'))
|
||||
|
||||
if name is None:
|
||||
name = get_language()
|
||||
@ -37,7 +37,7 @@ def get_language_full_name(name=None):
|
||||
|
||||
|
||||
def get_spacy_model(language=None):
|
||||
spacy_model = json.load(open(path + "/config/spacy.json", encoding='utf-8', mode='r'))
|
||||
spacy_model = json.load(open(path + "/utils/config/spacy.json", encoding='utf-8', mode='r'))
|
||||
|
||||
if language is None:
|
||||
language = get_language()
|
||||
|
47
todo_ideas_google.txt
Normal file
47
todo_ideas_google.txt
Normal file
@ -0,0 +1,47 @@
|
||||
Ok Google souviens-toi que j’ai mis les clés [ou n’importe quel objet] à l’entrée [ou n’importe quel autre endroit]
|
||||
Ok Google, où sont mes clés ?
|
||||
|
||||
|
||||
|
||||
Ok Google, où se trouve mon smartphone / iPhone ?
|
||||
|
||||
|
||||
|
||||
Ok Google, rappelle-moi de rappeler ma mère à 18 heures
|
||||
|
||||
|
||||
|
||||
Ok Google, comment dit-on merci en Chinois mandarin ?
|
||||
Ok Google, traduis “je t’aime” en japonais
|
||||
|
||||
|
||||
Ok Google, appairage Bluetooth
|
||||
Ok Google, déconnecte le Bluetooth
|
||||
|
||||
|
||||
Ok Google, mets le minuteur sur 5 minutes
|
||||
Ok Google, combien de temps reste-t-il sur le minuteur ?
|
||||
Ok Google, arrête/annule le minuteur
|
||||
Ok Google, stop (lorsque le minuteur sonne)
|
||||
|
||||
|
||||
|
||||
Ok Google, mets une alarme à [heure]
|
||||
Ok Google, annule l’alarme
|
||||
|
||||
|
||||
|
||||
Ok Google, quelle est la définition de [mot]
|
||||
|
||||
|
||||
|
||||
Ok Google, raconte-moi quelque chose d’intéressant
|
||||
|
||||
|
||||
|
||||
Ok Google, parle à Akinator
|
||||
|
||||
|
||||
|
||||
Ok Google, raconte-moi une histoire
|
||||
|
Reference in New Issue
Block a user