The invention discloses a text quality index obtaining method and device. The method comprises the steps of obtaining a name and keywords of a text, generating a text
data source, adopting a preset neural network
language model for training entries in the text
data source to obtain multiple word vectors, determining
sentence vectors of multiple sentences, and performing de-weighting on the
sentence vectors of the multiple sentences, wherein P-type quality indexes are involved; saving the content corresponding to the
sentence vectors of the P-type quality indexes, on the basis of
random forest,determining an important degree value of the P-type quality index, and according to the content corresponding to the sentence vectors of the P-type quality indexes and the important degree value of the P-type quality indexes, obtaining details and importance ranks of the quality indexes needing to be evaluated. Sentences of
open source software are quantified into the vectors, a quality index setis obtained, the follow-up
ranking accuracy is improved, the important degree value of the quality indexes is obtained on the basis of
random forest, and the obtained quality index result is more accurate and refined.