The use of information technology in the teaching of English majors in colleges and universities enriches the teaching means, especially the data mining technology that optimizes the digital teaching method. In this paper, starting from English writing, based on the functional requirements of writing training, we constructed a writing training process and utilized the NMF method to mine and decompose the English news text topics. In conjunction with the writing training, the data mining technology centered on the Rete algorithm was used to carry out automatic diagnosis of English composition on the basis of natural language processing. On the basis of mining and analyzing the English news text, the effect of English writing scoring was compared, and its enhancement effect on English composition was verified through controlled tests. The average writing score of the experimental group was 19.62, of which the full score was 25. The mean writing score of the control group is 16.38, which is 3.24 points lower than that of the experimental group. Significance Sig.=0.0004<0.05, P=0.025<0.05, there is a significant difference in the English proficiency of the two groups of students. Data mining technology enhances the language proficiency of students in English writing.