METHOD AND APPARATUS WITH TEXT CLASSIFICATION MODEL
A method and apparatus for classifying a text using a text classification model are disclosed. In one general aspect, an apparatus is for outputting a classification result for an input text including words by using a text classification model, and the apparatus includes: one or more processors; a m...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A method and apparatus for classifying a text using a text classification model are disclosed. In one general aspect, an apparatus is for outputting a classification result for an input text including words by using a text classification model, and the apparatus includes: one or more processors; a memory including instructions configured to cause the one or more processors to: determine whether the input text indicates an anomaly; and responsive to determining that the input text indicates an anomaly: determine saliencies of the respective words; select target words from among the words based on the saliencies; generate a replaced text by replacing, in the input text, the selected words with other words; and obtain a text classification result of the input text based on an inference upon the replaced text by the text classification model receiving the replaced text as an input. |
---|