This repository is a library of tools for processing LaTeX formulas. This includes checking existing LaTeX formulas for syntax errors and normalizing existing LaTeX formulas for subsequent use in tasks such as training.
From:An End-to-End Formula Recognition Method Integrated Attention Mechanism Figure 7.
- Node.js
- Python
pip install process_formula
$ process_formula --input_content tests/test_files/formulas.lst --out_path formulas.norm.lst
Full documentation can be found on docs, in Chinese.
Most of the code in this warehouse comes from harvardnlp/im2markup. Thank you very much.
- Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
- Please make sure to update tests as appropriate.
If you want to sponsor the project, you can directly click the Buy me a coffee image, please write a note (e.g. your github account name) to facilitate adding to the sponsorship list below.
This project is released under the MIT.