affix_segmentor: assign extra tags to the recognized code segment.