This is a node.js module that classifies if a sentence can be replied with "that's what she said".
npm install twss
var twss = require('twss');
twss.is("Nice weather we're having today") // > false
twss.is("Can you make it harder?") // > true
twss.is("You're not going fast enough!") // > true
You can also change algorithm from the default naive bayes classifier (nbc) to a k-nearest neighbor algorithm (knn)
twss.algo = 'nbc';
twss.algo = 'knn';