A CONTROLLED NATURAL LANGUAGE INTERFACE TO CLASS MODELS

Imran Sarwar Bajwa, M. Asif Naeem, Ahsan Ali Chaudhri, Shahzad Ali

2011

Abstract

The available approaches for automatically generating class models from natural language (NL) software requirements specifications (SRS) exhibit less accuracy due to informal nature of NL such as English. In the automated class model generation, a higher accuracy can be achieved by overcoming the inherent syntactic ambiguities and semantic inconsistencies in English. In this paper, we propose a SBVR based approach to generate an unambiguous representation of NL software requirements. The presented approach works as the user inputs the English specification of software requirements and the approach processes input English to extract SBVR vocabulary and generate a SBVR representation in the form of SBVR rules. Then, SBVR rules are semantically analyzed to extract OO information and finally OO information is mapped to a class model. The presented approach is also presented in a prototype tool NL2SBVRviaSBVR that is an Eclipse plugin and a proof of concept. A case study has also been solved to show that the use of SBVR in automated generation of class models from NL software requirements improves accuracy and consistency.

References

  1. Bryant B. R, Lee, B. S., et al. 2008. From Natural Language Requirements to Executable Models of Software Components. In Workshop on S. E. for Embedded Systems:51-58.
  2. Bryant B. R, Lee, B. S., et al. 2008. From Natural Language Requirements to Executable Models of Software Components. In Workshop on S. E. for Embedded Systems:51-58.
  3. OMG. (2007). Unified Modelling Language (UML) Standard version 2.1.2. Object Management Group, Available at: http://www.omg.org/mda/
  4. OMG. (2007). Unified Modelling Language (UML) Standard version 2.1.2. Object Management Group, Available at: http://www.omg.org/mda/
  5. Mich, L. 1996. NL-OOPS: from natural language to object oriented requirements using the natural language processing system LOLITA. Natural Language Engineering. 2(2):167-181
  6. Mich, L. 1996. NL-OOPS: from natural language to object oriented requirements using the natural language processing system LOLITA. Natural Language Engineering. 2(2):167-181
  7. Delisle, S. Barker, K. Biskri, I. 1998. Object-Oriented Analysis: Getting Help from Robust Computational Linguistic Tools. 4th International Conference on Applications of Natural Language to Information Systems, Klagenfurt, Austria:167-172.
  8. Delisle, S. Barker, K. Biskri, I. 1998. Object-Oriented Analysis: Getting Help from Robust Computational Linguistic Tools. 4th International Conference on Applications of Natural Language to Information Systems, Klagenfurt, Austria:167-172.
  9. Bajwa, Imran Sarwar, Lee, Mark G., Bordbar, Behzad. 2011. SBVR Business Rules Generation from Natural Language Specification. AAAI Spring Symposium 2011, San Francisco, USA. pp.2-8
  10. Bajwa, Imran Sarwar, Lee, Mark G., Bordbar, Behzad. 2011. SBVR Business Rules Generation from Natural Language Specification. AAAI Spring Symposium 2011, San Francisco, USA. pp.2-8
  11. Börstler, J. 1999. User - Centered Requirements Engineering in RECORD - An Overview. Nordic Workshop on Programming Environment Research NWPER'96, Aalborg, Denmark:149-156.
  12. Börstler, J. 1999. User - Centered Requirements Engineering in RECORD - An Overview. Nordic Workshop on Programming Environment Research NWPER'96, Aalborg, Denmark:149-156.
  13. Overmyer, S. V., Rambow, O. 2001. Conceptual Modeling through Linguistics Analysis Using LIDA. 23rd International Conference on Software engineering, July 2001
  14. Overmyer, S. V., Rambow, O. 2001. Conceptual Modeling through Linguistics Analysis Using LIDA. 23rd International Conference on Software engineering, July 2001
  15. Perez-Gonzalez, H. G., Kalita, J. K. 2002. GOOAL: A Graphic Object Oriented Analysis Laboratory. 17th annual ACM SIGPLAN conference on Objectoriented programming, systems, languages, and applications (OOPSLA 7802), NY, USA: 38-39.
  16. Perez-Gonzalez, H. G., Kalita, J. K. 2002. GOOAL: A Graphic Object Oriented Analysis Laboratory. 17th annual ACM SIGPLAN conference on Objectoriented programming, systems, languages, and applications (OOPSLA 7802), NY, USA: 38-39.
  17. Harmain, H. M., Gaizauskas R. 2003. CM-Builder: A Natural Language-Based CASE Tool for ObjectOriented Analysis. Automated Software Engineering. 10(2):157-181
  18. Harmain, H. M., Gaizauskas R. 2003. CM-Builder: A Natural Language-Based CASE Tool for ObjectOriented Analysis. Automated Software Engineering. 10(2):157-181
  19. Oliveira, A., Seco N. and Gomes P. 2006. A CBR Approach to Text to Class Diagram Translation. TCBR Workshop at the 8th European Conference on Case-Based Reasoning, Turkey, September 2006.
  20. Oliveira, A., Seco N. and Gomes P. 2006. A CBR Approach to Text to Class Diagram Translation. TCBR Workshop at the 8th European Conference on Case-Based Reasoning, Turkey, September 2006.
  21. Anandha G. S., Uma G.V. 2006. Automatic Construction of Object Oriented Design Models [UML Diagrams] from Natural Language Requirements Specification. PRICAI 2006: Trends in Artificial Intelligence, LNCS 4099/2006: 1155-1159
  22. Anandha G. S., Uma G.V. 2006. Automatic Construction of Object Oriented Design Models [UML Diagrams] from Natural Language Requirements Specification. PRICAI 2006: Trends in Artificial Intelligence, LNCS 4099/2006: 1155-1159
  23. Bajwa I. S., Samad A., Mumtaz S. 2009. Object Oriented Software modeling Using NLP based Knowledge Extraction. European Journal of Scientific Research, 35(01):22-33
  24. Bajwa I. S., Samad A., Mumtaz S. 2009. Object Oriented Software modeling Using NLP based Knowledge Extraction. European Journal of Scientific Research, 35(01):22-33
  25. OMG. 2008. Semantics of Business vocabulary and Rules. (SBVR) Standard v.1.0. Object Management Group, Available: http://www.omg.org/spec/SBVR/1.0/
  26. OMG. 2008. Semantics of Business vocabulary and Rules. (SBVR) Standard v.1.0. Object Management Group, Available: http://www.omg.org/spec/SBVR/1.0/
  27. Toutanova. K., Manning, C. D. 2000. Enriching the Knowledge Sources Used in a Maximum Entropy Part-of-Speech Tagger. In Joint SIGDAT Conference on Empirical Methods in Natural Language Processing and Very Large Corpora: 63-70.
  28. Toutanova. K., Manning, C. D. 2000. Enriching the Knowledge Sources Used in a Maximum Entropy Part-of-Speech Tagger. In Joint SIGDAT Conference on Empirical Methods in Natural Language Processing and Very Large Corpora: 63-70.
  29. Li, K., Dewar, R. G., Pooley, R. J. 2005. Object-Oriented Analysis Using Natural Language Processing, Linguistic Analysis (2005)
  30. Li, K., Dewar, R. G., Pooley, R. J. 2005. Object-Oriented Analysis Using Natural Language Processing, Linguistic Analysis (2005)
  31. Bajwa I. S., Hyder, I. S. 2007. UCD-generator - A LESSA application for use case design, International Conference on Information and Emerging Technologies, 2007. ICIET 2007.
  32. Bajwa I. S., Hyder, I. S. 2007. UCD-generator - A LESSA application for use case design, International Conference on Information and Emerging Technologies, 2007. ICIET 2007.
  33. Callan. R. E. 1994. Building Object-Oriented Systems: An introduction from concepts to implementation in C++. In Computational Mechanics Publications, 1994.
  34. Callan. R. E. 1994. Building Object-Oriented Systems: An introduction from concepts to implementation in C++. In Computational Mechanics Publications, 1994.
  35. Hirschman L., and Thompson, H. S. 1995. Chapter 13 evaluation: Overview of evaluation in speech and natural language processing. In Survey of the State of the Art in Human Language Technology.
  36. Hirschman L., and Thompson, H. S. 1995. Chapter 13 evaluation: Overview of evaluation in speech and natural language processing. In Survey of the State of the Art in Human Language Technology.
  37. Berry M. D., 2008. Ambiguity in Natural Language Requirements Documents. In Innovations for Requirement Analysis. From Stakeholders' Needs to Formal Designs, LNCS-5320/2008:1-7
  38. Berry M. D., 2008. Ambiguity in Natural Language Requirements Documents. In Innovations for Requirement Analysis. From Stakeholders' Needs to Formal Designs, LNCS-5320/2008:1-7
  39. Ormandjieva O., Hussain, I., Kosseim, L. 2007. Toward A Text Classification System for the Quality Assessment of Software Requirements written in Natural Language. in 4th International Workshop on Software Quality Assurance (SOQUA 7807):39-45.
  40. Ormandjieva O., Hussain, I., Kosseim, L. 2007. Toward A Text Classification System for the Quality Assessment of Software Requirements written in Natural Language. in 4th International Workshop on Software Quality Assurance (SOQUA 7807):39-45.
  41. Bajwa, I. S., Choudhary, M. A. (2006) “A Rule Based System for Speech Language Context Understanding” Journal of Donghua University, (English Edition) 23 (6), pp. 39-42.
  42. Bajwa, I. S., Choudhary, M. A. (2006) “A Rule Based System for Speech Language Context Understanding” Journal of Donghua University, (English Edition) 23 (6), pp. 39-42.
  43. Denger, C., Berry, D. M. Kamsties, E. 2003. Higher Quality Requirements Specifications through Natural Language Patterns. In Proceedings of IEEE International Conference on Software-Science, Technology \& Engineering (SWSTE 7803):80-85
  44. Denger, C., Berry, D. M. Kamsties, E. 2003. Higher Quality Requirements Specifications through Natural Language Patterns. In Proceedings of IEEE International Conference on Software-Science, Technology \& Engineering (SWSTE 7803):80-85
  45. Ilieva, M. G., Ormandjieva, O. 2005. Automatic Transition of Natural Language Software Requirements Specification into Formal Presentation. in proc. of Natural Language Processing and Information Systems LNCS- 3513/2005:427-434
  46. Ilieva, M. G., Ormandjieva, O. 2005. Automatic Transition of Natural Language Software Requirements Specification into Formal Presentation. in proc. of Natural Language Processing and Information Systems LNCS- 3513/2005:427-434
Download


Paper Citation


in Harvard Style

Bajwa I., Naeem M., Chaudhri A. and Ali S. (2011). A CONTROLLED NATURAL LANGUAGE INTERFACE TO CLASS MODELS . In Proceedings of the 13th International Conference on Enterprise Information Systems - Volume 2: ICEIS, ISBN 978-989-8425-54-6, pages 102-110. DOI: 10.5220/0003509801020110


in Harvard Style

Bajwa I., Naeem M., Chaudhri A. and Ali S. (2011). A CONTROLLED NATURAL LANGUAGE INTERFACE TO CLASS MODELS . In Proceedings of the 13th International Conference on Enterprise Information Systems - Volume 2: ICEIS, ISBN 978-989-8425-54-6, pages 102-110. DOI: 10.5220/0003509801020110


in Bibtex Style

@conference{iceis11,
author={Imran Sarwar Bajwa and M. Asif Naeem and Ahsan Ali Chaudhri and Shahzad Ali},
title={A CONTROLLED NATURAL LANGUAGE INTERFACE TO CLASS MODELS},
booktitle={Proceedings of the 13th International Conference on Enterprise Information Systems - Volume 2: ICEIS,},
year={2011},
pages={102-110},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0003509801020110},
isbn={978-989-8425-54-6},
}


in Bibtex Style

@conference{iceis11,
author={Imran Sarwar Bajwa and M. Asif Naeem and Ahsan Ali Chaudhri and Shahzad Ali},
title={A CONTROLLED NATURAL LANGUAGE INTERFACE TO CLASS MODELS},
booktitle={Proceedings of the 13th International Conference on Enterprise Information Systems - Volume 2: ICEIS,},
year={2011},
pages={102-110},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0003509801020110},
isbn={978-989-8425-54-6},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 13th International Conference on Enterprise Information Systems - Volume 2: ICEIS,
TI - A CONTROLLED NATURAL LANGUAGE INTERFACE TO CLASS MODELS
SN - 978-989-8425-54-6
AU - Bajwa I.
AU - Naeem M.
AU - Chaudhri A.
AU - Ali S.
PY - 2011
SP - 102
EP - 110
DO - 10.5220/0003509801020110


in EndNote Style

TY - CONF
JO - Proceedings of the 13th International Conference on Enterprise Information Systems - Volume 2: ICEIS,
TI - A CONTROLLED NATURAL LANGUAGE INTERFACE TO CLASS MODELS
SN - 978-989-8425-54-6
AU - Bajwa I.
AU - Naeem M.
AU - Chaudhri A.
AU - Ali S.
PY - 2011
SP - 102
EP - 110
DO - 10.5220/0003509801020110