The invention provides a program
text generation method and
system. The method includes the following steps: collecting program data, forming program material and
processing the program material to obtain a
feature matrix; performing text semantic analysis of the program data to obtain a potential theme of the program data, presenting the text of the program data as word vectors, and generating a
synonym table corresponding to the word vectors; searching in the
synonym table according to the input statement or terms, forming a query
phrase, and acquiring a plurality of technical programs related to the query
phrase according to the potential theme and the query
phrase; selecting keywords from the highly relevant technical program, using the
feature matrix to calculate the keywords most relevant to the query phrase, and generating
key terms; filtering and combining the
key terms, generating a technical program description text, inputting the technical program description text to a preset program
text generation model, generating and outputting a technical program reference text through the program
text generation model. The method and
system can automatically generate the technical program reference text.