Skip to content

Instantly share code, notes, and snippets.

@gorzechowski
gorzechowski / main.py
Created May 29, 2019 15:02
Simple text classification using tflearn
import tensorflow
import tflearn
import nltk
from nltk.stem.lancaster import LancasterStemmer
stemmer = LancasterStemmer()
intents = (
('greeting', 'hi'),
('greeting', 'hi there'),