Abstract
A requirement specification for software is usually described in a natural language and thus may include sentences containing ambiguity and contradiction. Problems due to the ambiguity often occur at the stage of the verification process of software development, and this forces developers to go back to the design process again. In order to prevent this kind of rework, a method of automatically converting a required specification written in Japanese to a state transition model is desired to help detect ambiguity and contradiction points of the specification. This paper proposes a method for this purpose, and reports on the result of applying the method to a specification example of an electric pot.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
The actual sentence is given in pure Japanese which uses Chinese characters, Hiragana, and Katakata without space-delimiters. The same applies hereafter.
References
Meyer, B.: On formalism in specifications. IEEE Softw. 2(1), 6–26 (1985)
Tripathy, A., Rath, S.K.: Object oriented analysis using natural language processing concepts: a review. arXiv:1510.07439vl [cs.SE]26 (2015)
Okano, K., Takahashi, K., Naka, Y., Ogata, S., Sekizawa, T.: Analysis of specification in Japanese using natural language processing and review supporting with speech synthesis, IEICE Technical report, vol. 117, no. 465, KBSE2017-52, pp. 79–84 (2018). (in Japanese)
SESSAMI: embedded system educational material “Wadai-Futto pot GOMA-1015 type” required specification. http://www.sessame.jp/workinggroup2/POT_Specification.html. Accessed 11 Jan 2018. (in Japanese)
Kasami, T.: An efficient recognition and syntax-analysis algorithm for context-free languages, Scientific report AFCRL-65-758. Air Force Cambridge Research Lab, Bedford, MA (1965)
Kuromoji-Atilika-AppliedSearchInnovation. https://www.atilika.com/ja/products/kuromoji.html. Accessed 11 Jan 2018
Ranjan, N., Mundada, K., Phule, S., Phule, S.: A survey on techniques in NLP. Int. J. Comput. Appl. 134(8), 6–9 (2016)
MeCab: yet another part-of-speech and morphological analyzer. http://taku910.github.io/mecab/. Accessed 11 Jan 2018
JUMAN. http://nlp.ist.i.kyoto-u.ac.jp/index.php?JUMAN. Accessed 11 Jan 2018
Sasano, R., Kurohashi, S.: A discriminative approach to Japanese zero anaphora resolution with large-scale lexicalized case frames. In: Proceedings of the 5th International Joint Conference on Natural Language Processing (IJCNLP 2011), pp. 758–766 (2011)
Kudoh, T., Matsumoto, Y.: Japanese dependency analysis based on support vector machines. In: Joint SIGDAT Conference on Empirical Methods in Natural Language Processing and Very Large Corpora EMNLP/VLC 2000 (2000)
Huy, B.Q., Ohnishi, A.: A verification method of the correctness of requirements ontology. In: Proceedings of the 10th Joint Conference on Knowledge-Based Software Engineering (JCKBSE 2012), pp. 1–10 (2012)
Ohnishi, A., Kitamoto, K.: A generation method of alternative scenarios with a normal scenario. IEICE Trans. Inf. Syst. E93–D(4), 693–701 (2010)
Yoshimura, K., Nakanishi, T., Ototake, H., Tanabe, T., Furusho, H.: Extraction of simple sentences from technical documents using Japanese unification grammar. IEICE Technical report, vol. 117, no. 465, KBSE2017-58, pp. 109–114 (2018). (in Japanese)
IEC 61882:2001: Hazard and operability studies (HAZOP studies) - Application guide
Yumikura, Y., Wada, T., Sumi, T., Fujinmoto, H., Murata, Y.: Applying natural language analysis to the evaluation of requirements specifications. IPSJ Technical report, 2013-SE-181, pp. 1–8 (2013). (in Japanese)
Tanaka, K., Ikeda, T., Deguchi, Y.: A software development system based on natural language specifications. In: Proceedings of the 48th National Convention of IPSJ, pp. 91–92 (1994). (in Japanese)
Acknowledgements
Part of this research is supported by Grants-in-Aid C16K00094. The authors would like to thank Mr. Yusuke Naka and Mr. Yusuke Sugiyama for deriving the UML state machine diagram which served as the base of the correct answer set. Authors also thank Prof. Takahiro Yamada of JAXA for valuable comments.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Okano, K., Takahashi, K., Ogata, S., Sekizawa, T. (2019). Analysis of Specification in Japanese Using Natural Language Processing. In: Virvou, M., Kumeno, F., Oikonomou, K. (eds) Knowledge-Based Software Engineering: 2018. JCKBSE 2018. Smart Innovation, Systems and Technologies, vol 108. Springer, Cham. https://doi.org/10.1007/978-3-319-97679-2_2
Download citation
DOI: https://doi.org/10.1007/978-3-319-97679-2_2
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-97678-5
Online ISBN: 978-3-319-97679-2
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)