To provide a processor implemented method for identifying a target class for a query and outputting a response thereto.SOLUTION: In a classifier that identifies a target class for a query and provides a response to the query related to the identified target class, a Siamese model (SM) 302 is trained for a period of time (a), and then the same base network 306 is used to repeatedly train a classification model (CM) 304 for a period of time (b) until the best accuracy is observed in a verification test. The SM guarantees learning which sentence is semantically similar/dissimilar, and the CM learns to predict the target class of any user's query. Here, (a) and (b) are assumed to be hyperparameters and are directed to the best performance for a verification set.SELECTED DRAWING: Figure 3
BiLSTM-SHAM NETWORK BASED CLASSIFIER FOR IDENTIFYING TARGET CLASS FOR QUERY AND PROVIDING RESPONSE THERETO