A system of joint word segmentation and POS tagging for Japanese