A data processing method includes: obtaining a to-be-detected text, and determining a context word set and a candidate substitute word set corresponding to a to-be-detected word in the to-be-detected text to be inputted into a pronoun resolution neural network for feature extraction; performing positive-example iteration processing and negative-example iteration processing on the features corresponding to the context word set and the candidate substitute word set, to obtain a positive-example feature vector length and a negative-example feature vector length, and calculating a substitute probability corresponding to each candidate substitute word in the candidate substitute word set according to the positive-example feature vector length and the negative-example feature vector length; determining a target substitute word according to the substitute probability corresponding to the each candidate substitute word; and inserting the target substitute word into the to-be-detected text according to a position corresponding to the to-be-detected word, to obtain a target text.
DATA PROCESSING METHOD AND PRONOUN RESOLUTION NEURAL NETWORK TRAINING METHOD