fst_pos_compare function

Compare parts-of-speech