The code of "A Mathematical Word Problem Generator with Structure Planning and Knowledge Enhancement"(SIGIR2023)
Install packages via pip install -r requirements.py
Other important tools can be found in EasyData
All data used for this paper could be found in datasets/...
If you are interested about data construction, you can acquire raw datasets and run data_processing.py:
A. The datasets we used:
- Lmwp: Linear equation MWPs proposed by MaKE
- Hmwp: hybrid equation MWPs proposed by SAU-Solver
B. see preprocess/...
For solvability evaluation, We recommend that you use CTRL-MWP .