An open API service indexing awesome lists of open source software.

https://github.com/swhl/processlatexformulatools

Tools for processing LaTeX formulas.
https://github.com/swhl/processlatexformulatools

formula katex latex-ocr

Last synced: 2 months ago
JSON representation

Tools for processing LaTeX formulas.

Awesome Lists containing this project

README

          



🛠️ Process LaTeX formula Tools





SemVer2.0

GitHub

PyPI

[简体中文](./docs/README_zh.md) | 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.](https://www.mdpi.com/2227-7390/11/1/177)

### Environment
- [Node.js](https://nodejs.org/en/download)
- Python

### Installation
```bash
pip install process_formula
```

### Usage
```bash
$ process_formula --input_content tests/test_files/formulas.lst --out_path formulas.norm.lst
```

### Documentation
Full documentation can be found on [docs](https://swhl.github.io/ProcessLaTeXFormulaTools/docs), in Chinese.

### Acknowledgements
Most of the code in this warehouse comes from [harvardnlp/im2markup](https://github.com/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.

### [Sponsor](https://rapidai.github.io/Knowledge-QA-LLM/docs/sponsor/)
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](https://github.com/SWHL/ProcessLaTeXFormulaTools/blob/fee132e672e22ea417e34050b9a3e9df825ab36c/LICENSE).