IOB tagging based on HMM