We’re creating a giant nested list which contains bags of words for each of our documents. We have a feature called output_row which simply acts as a key for the list. We then shuffle our training set and do a train-test-split, with the patterns being the X variable and the intents being the Y variable.… Seguir leyendo Building Chatbots with Python: Using Natural Language Processing and Machine Learning Book