Code for Toby Segaran's popular book, "Programming Collective Intelligence".