Method and apparatus for building synonymy discriminating model and method and apparatus for discriminating synonymous text
Abstract:
A method for building the synonymy discriminating model comprises: obtaining a text pair in training samples; using a word vector dictionary to obtain a quantization matrix of texts in the text pair; regarding the quantization matrix of respective texts as input of a convolutional neural network, regarding a synonymy annotation result corresponding to the text pair as output of the convolutional neural network, and training the convolutional neural network to obtain a synonymy discriminating model. The method for discriminating the synonymous text comprises: obtaining a text pair to be discriminated; using a word vector dictionary to obtain a quantization matrix corresponding to texts in the text pair; regarding the quantization matrix of the texts as input of a synonymy discriminating model, and determining a synonymy discrimination result of the text pair according to output of the synonymy discriminating model.
Information query
Patent Agency Ranking
0/0