Stochastic Blog
From bag-of-words to word vectors
In posts 23 and 24 we taught the machine to read: we loaded raw text, cleaned it with regular expressions, and ended up with a tidy table of documents. What we never did was decide what a document is once the cleaning is done. A string of characters is not