Skip to content

Commit

Permalink
Added support for HI-IN model
Browse files Browse the repository at this point in the history
  • Loading branch information
Karthik Ragubathy committed Jul 15, 2019
1 parent f569fde commit be24e92
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 0 deletions.
29 changes: 29 additions & 0 deletions lambda/custom/index.js
Expand Up @@ -319,6 +319,33 @@ const frcaData = {
},
};

const hiData = {
translation: {
SKILL_NAME: 'अंतरिक्ष facts',
GET_FACT_MESSAGE: 'ये लीजिए आपका fact: ',
HELP_MESSAGE: 'आप मुझे नया fact सुनाओ बोल सकते हैं या फिर exit भी बोल सकते हैं... आप क्या करना चाहेंगे?',
HELP_REPROMPT: 'मैं आपकी किस प्रकार से सहायता कर सकती हूँ?',
FALLBACK_MESSAGE: 'माफ़ कीजिए, अंतरिक्ष facts skill वो नहीं कर सकता. आपके मुझे नया fact सुनाओ बोलने पर, ये skill आपको अंतरिक्ष के बारे मैं कुछ नया बता सकता हैं. आप क्या करना चाहेंगे?',
FALLBACK_REPROMPT: 'मैं आपकी किस प्रकार से सहायता कर सकती हूँ?',
ERROR_MESSAGE: 'सॉरी, मैं वो समज नहीं पायी. क्या आप repeat कर सकते हैं?',
STOP_MESSAGE: 'अच्छा bye, फिर मिलते हैं',
FACTS:
[
'बुध गृह में एक साल में केवल अठासी दिन होते हैं',
'सूरज से दूर होने के बावजूद, Venus का तापमान Mercury से ज़्यादा होता हैं',
'Earth के तुलना से Mars में सूरज का size तक़रीबन आधा हैं',
'सारे ग्रहों में Jupiter का दिन सबसे कम हैं',
'सूरज का shape एकदम गेंद आकार में हैं'
],
},
};

const hiinData = {
translation: {
SKILL_NAME: 'अंतरिक्ष फ़ाक्ट्स',
},
}

const itData = {
translation: {
SKILL_NAME: 'Aneddoti dallo spazio',
Expand Down Expand Up @@ -416,6 +443,8 @@ const languageStrings = {
'fr': frData,
'fr-FR': frfrData,
'fr-CA': frcaData,
'hi': hiData,
'hi-IN': hiinData,
'it': itData,
'it-IT': ititData,
'ja': jpData,
Expand Down
39 changes: 39 additions & 0 deletions models/hi-IN.json
@@ -0,0 +1,39 @@
{
"interactionModel": {
"languageModel": {
"invocationName": "अंतरिक्ष facts",
"intents": [
{
"name": "AMAZON.CancelIntent",
"samples": []
},
{
"name": "AMAZON.HelpIntent",
"samples": []
},
{
"name": "AMAZON.StopIntent",
"samples": []
},
{
"name": "GetNewFactIntent",
"samples": [
"मुझे एक fact बताओ",
"मुझे अंतरिक्ष के बारे में एक fact बताओ",
"मुझे space के बारे में एक fact बताओ",
"मुझे अंतरिक्ष के बारे में एक ज्ञान बताओ",
"मुझे एक fact दो",
"मुझे एक space fact दो",
"मुझे एक अंतरिक्ष ज्ञान बताओ"
],
"slots": []
},
{
"name": "AMAZON.NavigateHomeIntent",
"samples": []
}
]
}
}
}

16 changes: 16 additions & 0 deletions skill.json
Expand Up @@ -153,6 +153,22 @@
"name": "Anecdotes de l'Espace",
"description": "Demandez des anecdotes sur l'espace et découvrez ce qui compte vraiment, comme la matière noire.\n\nLes anecdotes de l'espace vont régaler toute la famille et garantir de vous rendre plus intelligent.\n\nPour commencer, dites simplement \"Alexa, lance anecdotes de l'espace\" ou \"Alexa, ouvre anecdotes de l'espace\" pour obtenir une anecdote \".\n\nÀ tout moment, vous pouvez arrêter en disant \"Alexa, stop \""
},
"hi-IN": {
"summary": "अंतरिक्ष के बारे में कुछ नया सीखें",
"examplePhrases": [
"Alexa अंतरिक्ष facts शुरू करो",
"Alexa अंतरिक्ष facts open करो और मुझे एक fact बताओ",
"Alexa अंतरिक्ष facts खोलो और मुझे एक fact दो"
],
"keywords": [
"अंतरिक्ष",
"ज्ञान",
"space",
"trivia"
],
"name": "अंतरिक्ष Facts",
"description": "अंतरिक्ष facts skill आपको अंतरिक्ष के बारे में कुछ दिलचस्प जानकारी देगा. इसे शुरू करने के लिए कहें,\"Alexa, अंतरिक्ष facts शुरू करो\". इसे रोकने के लिए, \"Alexa, चुप\""
},
"it-IT": {
"summary": "Impara informazioni divertenti sullo spazio.",
"examplePhrases": [
Expand Down

0 comments on commit be24e92

Please sign in to comment.