HNHacker News
TopNewBestAskShowJobs

doody_parizada

53 karma · joined December 17, 2017

submissionscomments
doody_parizada··on Show HN: Using word vectors to classify spam messages
We started out with word2vec, but discovered it was easier to work with GloVe for our purpose. There are ways to convert glove vectors to word2vec format such as: https://radimrehurek.com/gensim/scripts/glove2word2vec.html
doody_parizada··on Show HN: Using word vectors to classify spam messages
One of the things we found out working on this project, is the problem of converting a word vector to a paragraph vector. Apparently there are many ways to do so and each one yields different results based on the length of the text and content. We used a weighted average of the words based on their frequency in a corpus.
doody_parizada··on Show HN: Using word vectors to classify spam messages
We don't have words like v1agra. As I mentioned in the README, we took vectors pretrained on wikipedia. One of the possible improvements can be to train the vectors on our own dataset.