-
公开(公告)号:US20190087490A1
公开(公告)日:2019-03-21
申请号:US16198729
申请日:2018-11-21
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Bingyuan LIU , Xu ZHANG
Abstract: A text classification apparatus determines a word vector corresponding to a keyword according to a word vector model, and determines a potential extended word of the keyword based on the word vector. Then, when an extension rule input is received, and an adding instruction is detected, the apparatus adds the potential extended word to the keyword library, and adds the extension rule to a matching rule library. The apparatus determines a first probability that a text belongs to each of multiple preset classes, wherein the determination is based on the keyword library and the matching rule library. The apparatus determines a class to which the text belongs from the multiple preset classes.