论文标题
从代数单词问题到程序:一种形式化的方法
From Algebraic Word Problem to Program: A Formalized Approach
论文作者
论文摘要
在本文中,我们提出了一条管道,将小学级别的代数单词问题转换为正式的语言IMP程序。使用自然语言处理工具,我们将问题分解为句子片段,然后可以简化为功能。这些函数由句子的头动词及其结构进行分类,如(Hosseini等,2014)所定义。我们定义函数签名,并使用依赖性解析从文本中提取其参数。我们可以在GitHub存储库上找到整个管道的工作实现。
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.