Convert word id to word and classify.