fixed bug: doc2word fixed by first splitting and lower-casing the words.