Skip to content

SWHL/ProcessLaTeXFormulaTools

Repository files navigation

🛠️ Process LaTeX formula Tools

SemVer2.0 GitHub PyPI

简体中文 | English

Introduction

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.

What are normalized LaTeX formulas?

From:An End-to-End Formula Recognition Method Integrated Attention Mechanism Figure 7.

Environment

Installation

pip install process_formula

Usage

$ process_formula --input_content tests/test_files/formulas.lst --out_path formulas.norm.lst

Documentation

Full documentation can be found on docs, in Chinese.

Acknowledgements

Most of the code in this warehouse comes from harvardnlp/im2markup. Thank you very much.

Code Contributors

Contributing

  • 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.

License

This project is released under the MIT.