tagger.py: convert to python 3