Link to original HN submission: <a href="https://news.ycombinator.com/item?id=14337275" rel="nofollow">https://news.ycombinator.com/item?id=14337275</a><p>It's worth noting for future reference that in terms of supervised learning of labels given a text document input, fasttext (<a href="https://github.com/facebookresearch/fastText" rel="nofollow">https://github.com/facebookresearch/fastText</a>) is <i>leagues</i> ahead of conventional approaches in both accuracy and training speed, and there is a Python interface (<a href="https://github.com/salestock/fastText.py" rel="nofollow">https://github.com/salestock/fastText.py</a>) for use with Django/Flask (unfortunately, recent fasttext changes have broken the interface for now).