The present invention provides a method, device, electronic device and storage medium for constructing parallel
sentence pairs, wherein the method comprises: obtaining a first
sentence and a second
sentence, wherein the first sentence and the second sentence correspond to different languages; determining a first
semantic feature of the first sentence and a second
semantic feature of the second sentence based on a cross-language
language model, wherein the cross-language
language model is obtained by training based on a
semantic relationship between each
participle in a first sample sentence and each
participle in a second sample sentence, wherein the first sample sentence and the second sample sentence correspond to different languages; constructing parallel sentence pairs based on a similarity between the first
semantic feature and the second semantic feature, wherein in an embodiment of the present invention, model training is performed using the
semantic relationship between the participles contained in sample sentences of different languages, so that the performance of the trained model can be improved, and when facing a scarce resource language, the accuracy of sentence embedding is improved, the construction process of parallel sentence pairs is refined, and the quality of parallel
sentence pair construction is improved.