The invention discloses a text similarity calculation system and method based on a distance perception self-attention mechanism and multi-angle modeling, for a text P and a text Q, text similarity calculation is completed by means of Word2vec, BiLSTM, the distance perception self-attention mechanism and multi-angle modeling, firstly Word2ve is used to obtain word representations of the text P and the text Q, and context representations are captured through the BiLSTM; the method comprises the following steps: firstly, extracting a text P and a text Q, then further extracting text features by utilizing a distance-aware self-attention mechanism, then carrying out interactive modeling on the text P and the text Q by utilizing an interactive attention mechanism, and finally, carrying out similarity modeling on the text P and the text Q from different levels by proposing a multi-angle similarity modeling method so as to obtain a final similarity. According to the method, through a self-attention mechanism based on distance perception and a multi-angle similarity modeling architecture, the text semantic modeling capability is enhanced, the accuracy of text similarity calculation is improved, and the model is simple in structure, efficient in performance, high in robustness and easy to popularize and use in practice.