While learning about ML and NLP I have created a little starter project, a Bot for IoT applications, using NLTK (natural language toolkit).
To learn more about this NLTK check this book/guide: NLTK Guide
These function are for demonstration, you can add your own following the source code:
- What time is it?
- Turn on the lights
- Please play some music4
To add your commands to the command_sentences.txt
file, following the right annotations (tags: /NN, /VB)
python bot.py