Advertise here with Carbon Ads

This site is made possible by member support. ๐Ÿ’ž

Big thanks to Arcustech for hosting the site and offering amazing tech support.

When you buy through links on kottke.org, I may earn an affiliate commission. Thanks for supporting the site!

kottke.org. home of fine hypertext products since 1998.

๐Ÿ”  ๐Ÿ’€  ๐Ÿ“ธ  ๐Ÿ˜ญ  ๐Ÿ•ณ๏ธ  ๐Ÿค   ๐ŸŽฌ  ๐Ÿฅ”

Is that what she said or not?

This is a node.js module that determines if a sentence can be replied to with “that’s what she said”. You can use either a naive Bayes or k-nearest neighbor algorithm. This totally paves the way for a Michael Scott auto-replying Twitter bot. (via @kellan)