Text classification method and apparatus, device, and computer-readable storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsXianli Zhang, Chong Guan, Xi Chen
Life of this patent
Estimating the term…
Loading patent…
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsXianli Zhang, Chong Guan, Xi Chen
Estimating the term…
A text classification method includes: obtaining a target text and an associated text corresponding to the target text; performing feature extraction on the target text and the associated text to obtain feature information, the feature information including one or more features; processing the feature information by using an attention mechanism to obtain one or more attention weights respectively corresponding to the one or more features, an attention weight indicating importance of the corresponding feature for the target text and the associated text; and obtaining a class detection result and result interpretation information corresponding to the target text based on the feature information and the one or more attention weights, the class detection result comprising a class distribution probability corresponding to the target text, and the result interpretation information describing impact of the one or more features on the class detection result.
A text classification method, comprising:
A text classification apparatus, comprising:
A non-transitory computer-readable storage medium, storing at least one instruction, at least one program, a code set, or an instruction set, the at least one instruction, the at least one program, the code set, or the instruction set being loaded and executed by a processor to implement:
Dependencies are inferred from the claim text.