Home

Awesome

codeword-alexa-skill

Generate code words using Alexa.

## How to deploy

python -c 'import nltk; nltk.download()'
cd codeword
./generate_lookup.py

Then create a deployment ZIP file for lambda:

./create_lambda_deployment

How to set up Lambda

{
  "session": {
    "new": true,
    "sessionId": "session1234",
    "attributes": {},
    "user": {
      "userId": null
    },
    "application": {
      "applicationId": "amzn1.echo-sdk-ams.app.[unique-value-here]"
    }
  },
  "version": "1.0",
  "request": {
    "type": "LaunchRequest",
    "requestId": "request5678"
  }
}
{
    "intents": [
        {
            "intent": "GetCodePhrase"
        }
    ]
}
-   Sample utterances:
GetCodePhrase for a code phrase
GetCodePhrase for a phrase
GetCodePhrase for a code
GetCodePhrase for a code word
GetCodePhrase for a codeword