The invention provides a program source code automatic generation function descriptive annotation method. The method comprises the steps of 1, extracting features of source codes; and 2, analyzing theextracted features, and expressing the features about functions automatically by using a natural language. According to the method, corresponding function descriptive annotations can be automaticallygenerated for various different program design languages; the effects and functions of the source codes are well expressed; and the maintenance and development of software can be effectively promoted. Compared with the prior art, the method has the following beneficial effects that 1, an analysis tree of the source codes is processed and the features are extracted, so that the features, not merely the local partial features, of the source codes can be represented more comprehensively in comparison with other methods; 2, the annotation generation no longer depends on a fixed template, so thatthe flexibility and diversity are higher in comparison with other methods, the generated annotation can express more functions, and the description is more comprehensive; and 3, the method is suitablefor various program design languages, and has universality.