# Third-party notices

## Nerdamer symbolic math engine

The symbolic workbench bundles the browser package Nerdamer `2.0.0` in `vendor/nerdamer-2.0.0.js`, distributed under the Apache License 2.0. The upstream license and bundled dependency notices are included as `vendor/NERDAMER-LICENSE.md` and `vendor/NERDAMER-BUNDLE-LICENSE.txt`. The bundle runs in a local Web Worker and receives the math expression typed or reviewed by the learner; it does not make a network request.

Nerdamer project and documentation: [GitHub repository](https://github.com/jiggzson/nerdamer), [official documentation](https://nerdamer.com/docs/).

## Formula OCR

The formula OCR path does not redistribute its model weights. On first use, the browser fetches them from the pinned Hugging Face revisions below and stores successful responses in its model cache.

The Y? implementation does not redistribute the model weights. On first use, the browser fetches them from the pinned Hugging Face revisions below and stores successful responses in its model cache.

## pix2text-mfr model weights

- Formula decoder and tokenizer: [breezedeus/pix2text-mfr](https://huggingface.co/breezedeus/pix2text-mfr), revision `bea257edb2653f2ae413b084f2ac0e8299d08df0`, MIT license.
- Quantized formula encoder: [Brian314/pix2text-mfr-quantized](https://huggingface.co/Brian314/pix2text-mfr-quantized), revision `4b1c45ae364c5e97c644281b89c25987ee1bce8c`, MIT license.

The current page uses only the formula recognition component. It does not bundle the PP-OCR text detector or text-recognition models from OCR Buddy.

## ONNX Runtime Web

The browser loads ONNX Runtime Web `1.20.1` from the pinned jsDelivr URL in `math-ocr.mjs`. ONNX Runtime is distributed under the MIT license by Microsoft Corporation and contributors: [project and license](https://github.com/microsoft/onnxruntime).

## Adapted inference implementation

`math-ocr.mjs` adapts the pix2text-mfr ONNX inference approach and tokenizer handling from [OCR Buddy](https://github.com/Fanfulla/OCR-buddy/blob/main/src/offscreen/formula.ts), copyright © 2026 OCR Buddy contributors, under this MIT license:

```text
MIT License

Copyright (c) 2026 OCR Buddy contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
