New document_tagger_final2.py - with help from Anant