Infer the category of the document written in Japanese