alfredfrancis / ai-chatbot-framework

A python chatbot framework with Natural Language Understanding and Artificial Intelligence.
MIT License
1.97k stars 712 forks source link

How does this work? #56

Closed knkarthik closed 6 years ago

knkarthik commented 6 years ago

Amazing work! It would be helpful if you can explain how the tool works - the ML/NLP stuff behind this so that others can modify it if needed.

Thanks.

alfredfrancis commented 6 years ago

We have two main NLU modules

Intent classifier module

It uses scikit learn SVM for text classification and uses NLTK for preprocessing and feature extraction.

Following preprocessing tasks are performed for the classification,

NER module

NER module uses PyCRF suite for Named Entity Recognition. It takes following features,