Implement pos tagger