making a constructor public for the POS tagger