Make tagger trainer compatible with new python goose

Python goose api has changed. This pull request makes you tag trainer compatible with the new API