the text of natural language user requirement is analyzed. TF-IDF method is used to calculate the frequency of feature words appearing in the requirement text. After normalization
the weight of feature words in the text is obtained. Chi-square statistics is used to measure the correlation between feature words and clusters. The feature set is clustered by k-means algorithm and bisecting k-means algorithm
and the user requirement text feature tree is generated
which is mapped to the corresponding requirement function in the requirement function decomposition tree. The semantics and structure of requirement feature are clearer. The ability of automatic requirement specification is enhanced. The efficiency of requirement analysis is improved
and the requirement specification is more scientific
reasonable and accurate.
关键词
Keywords
references
DAVIS A M. The design of a family of application- oriented requirements languages[J]. Computer, 1982, 15(5):21-28. DOI: 21
SALTON G, WONG A, YANG C S. A vector space model for automatic indexing[J].Communications of the ACM, 1975.18(11): 613-620. DOI: 613
Washington WIEGERS K E. Software requirements[M]. Washington:Microsoft Press, 1999.
SAVARESI S M, BOLEY D. On the performance of bisecting k-meansand PDDP[C]//Proc. of the 1st SIAM International Conference onData Mining.Chicago, USA: [s.n.], 2001: 1-14.
MACQUEEN J. Some methods for classification and analysis of multivariate observations[C]//Proc. of the 5th Berkeley Symposium on Mathematical Statistics and Probability. Los Angeles: University of California Press, 1967: 281-297.
TURNER C R, FUGGETTA A, LAVAZZA L, et al. A conceptual basis for feature engineering[J]. Journal of Systems and Software, 1999, 49(1):3-15. DOI: 3