Sunday, 14 Jan 2018
Opsdroid is a chatbot framework powered by different kinds of skills - which are basically python functions that interact with Opsdroid. The skill - words - takes advantage of the NLTK library to do things with words such as:
Each function of the skill uses regex and groups to trigger the event and give meaning to what the user wishes to do.
By doing the 100 Days Of Code challenge and working on the challenges on Pybites. On challenge 5, we need to compare two twitter accounts and get the similarity index from them, after a quick research I figured it out that I could use NLTK to solve the issue. I spent a few days reading the documentation and working the examples. That’s when I thought that perhaps we could implement these things in opsdroid. I started working on the idea and the skill - words came to be.
There are still plenty of things that can be improved and I have plans to fix the issues in order to make this skill even better and more pleasant to use.
GitHub repo: https://github.com/opsdroid/skill-words