Abstract
In the recent past, solving mathematical word problems of varying complexities has gained popularity among researchers, for which Natural Language Processing (NLP) and Understanding (NLU) techniques, Machine Learning, Deep learning and several artificial intelligence (AI) based approaches are widely used. The paper presents a work aiming to solve single-sentence mathematical or arithmetic word problems or queries given in natural language (English). The work involves identification of problem types, simplification of the given word problem to extract the operators and the operands, mapping the operators to appropriate operands to create the mathematical expression and solve the query to generate the final result. We developed a dataset consisting of 430 diverse arithmetic word problems of different complexity levels. Our natural language calculator was evaluated on this dataset and it resulted in 86.28% accuracy.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
- 3.
- 4.
In India, the word ‘into’ is used to refer to the multiplication operation.
References
Aho, A.V., Hopcroft, J.E., Ullman, J.D.: Data Structures and Algorithms. Addison Wesley, Amsterdam (1983)
Bakman, Y.: Robust understanding of word problems with extraneous information. arXiv preprint arXiv:math/0701393 (2007)
Bobrow, D.G.: Natural language input for a computer problem solving system (1964)
Briars, D.J., Larkin, J.H.: An integrated model of skill in solving elementary word problems. Cogn. Instr. 1(3), 245–296 (1984)
Dellarosa, D.: A computer simulation of children’s arithmetic word-problem solving. Behav. Res. Meth. Instrum. Comput. 18(2), 147–154 (1986)
Fletcher, C.R.: Understanding and solving arithmetic word problems: a computer simulation. Behav. Res. Meth. 17(5), 565–571 (1985)
Hosseini, M.J., Hajishirzi, H., Etzioni, O., Kushman, N.: Learning to solve arithmetic word problems with verb categorization. In: Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing, EMNLP 2014, A Meeting of SIGDAT, a Special Interest Group of the ACL, Doha Qatar, 25–29 October 2014, pp. 523–533 (2014). http://aclweb.org/anthology/D/D14/D14-1058.pdf
Kintsch, W., Greeno, J.G.: Understanding and solving word arithmetic problems. Psychol. Rev. 92(1), 109 (1985)
Koncel-Kedziorski, R., Hajishirzi, H., Sabharwal, A., Etzioni, O., Ang, S.D.: Parsing algebraic word problems into equations. TACL 3, 585–597 (2015). https://tacl2013.cs.columbia.edu/ojs/index.php/tacl/article/view/692
Kushman, N., Zettlemoyer, L., Barzilay, R., Artzi, Y.: Learning to automatically solve algebra word problems. In: Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics, ACL 2014, Baltimore, MD, USA, 22–27 June 2014, Volume 1: Long Papers, pp. 271–281 (2014)
Liang, C., Tsai, S., Chang, T., Lin, Y., Su, K.: A meaning-based English math word problem solver with understanding, reasoning and explanation. In: COLING 2016, 26th International Conference on Computational Linguistics, Proceedings of the Conference System Demonstrations, Osaka, Japan, 11–16 December 2016, pp. 151–155 (2016). http://aclweb.org/anthology/C/C16/C16-2032.pdf
Mandal, S., Naskar, S.K.: Towards generating object-oriented programs automatically from natural language texts for solving mathematical word problems. In: Natural Language Processing and Information Systems - Proceedings of the 22nd International Conference on Applications of Natural Language to Information Systems, NLDB 2017, Liège, Belgium, 21–23 June 2017, pp. 222–226 (2017). https://doi.org/10.1007/978-3-319-59569-6_26
Mandal, S., Naskar, S.K.: Solving arithmetic mathematical word problems: a review and recent advancements. In: Information Technology and Applied Mathematics: ICITAM 2017, vol. 699, p. 95 (2018)
Mukherjee, A., Garain, U.: A review of methods for automatic understanding of natural language mathematical problems. Artif. Intell. Rev. 29(2), 93–122 (2008). https://doi.org/10.1007/s10462-009-9110-0
Riley, M.S., et al.: Development of children’s problem-solving ability in arithmetic (1984)
Roy, S., Roth, D.: Solving general arithmetic word problems. In: Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, EMNLP 2015, Lisbon, Portugal, 17–21 September 2015, pp. 1743–1752 (2015). http://aclweb.org/anthology/D/D15/D15-1202.pdf
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Bhattacharjee, D., Hariom, Mandal, S., Naskar, S.K. (2020). A Simple Arithmetic Calculator to Solve Single Sentence Mathematical Word Problems. In: Castillo, O., Jana, D., Giri, D., Ahmed, A. (eds) Recent Advances in Intelligent Information Systems and Applied Mathematics. ICITAM 2019. Studies in Computational Intelligence, vol 863. Springer, Cham. https://doi.org/10.1007/978-3-030-34152-7_39
Download citation
DOI: https://doi.org/10.1007/978-3-030-34152-7_39
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-34151-0
Online ISBN: 978-3-030-34152-7
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)