English

From Algebraic Word Problem to Program: A Formalized Approach

Computation and Language 2024-04-09 v2 Programming Languages

Abstract

In this paper, we propose a pipeline to convert grade school level algebraic word problem into program of a formal languageA-IMP. Using natural language processing tools, we break the problem into sentence fragments which can then be reduced to functions. The functions are categorized by the head verb of the sentence and its structure, as defined by (Hosseini et al., 2014). We define the function signature and extract its arguments from the text using dependency parsing. We have a working implementation of the entire pipeline which can be found on our github repository.

Keywords

Cite

@article{arxiv.2003.11517,
  title  = {From Algebraic Word Problem to Program: A Formalized Approach},
  author = {Adam Wiemerslage and Shafiuddin Rehan Ahmed},
  journal= {arXiv preprint arXiv:2003.11517},
  year   = {2024}
}

Comments

No longer useful work

R2 v1 2026-06-23T14:27:07.148Z