TruWork Quran by NanoSystem. Adapted from Tilawa by yazinsai (https://github.com/yazinsai/tilawa). The practice UI, offline packaging and local revision features have been modified by NanoSystem. Quran reference: Tanzil, https://tanzil.net. 1.x models: CC BY 4.0, https://creativecommons.org/licenses/by/4.0/. MIT License Copyright (c) 2026 yazinsai 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. # Notices This repository's code is MIT-licensed (`LICENSE`). The notices below cover the data, models and libraries `@tilawa/core` is built from or ships, plus the 0.x assets. The old Python harness `lab/` was removed from the tree; it is in the history at [`2a29b3b`](https://github.com/yazinsai/tilawa/tree/2a29b3b/lab). ## `@tilawa/core` 1.x The engine (`packages/tilawa-core/src/engine/`, `packages/tilawa-core/src/runtime/`) is copied from the research engine in this repository (`packages/core/`, `packages/sdk/`) at a pinned commit, unmodified apart from import paths, and released here under this repository's MIT licence. `packages/tilawa-core/src/engine/SOURCE.json` records the source commit and file hashes. The listener model it downloads (`spliced-clean`, `spliced-clean-lite`) and its reference data are built from the works below. Their attribution terms apply to redistributions of the models and assets. The `spliced-clean` and `spliced-clean-lite` weights themselves are released under **CC BY 4.0** (see `docs/model-card.md`). - **tlog** (`tarteel-ai/tlog`), by Tarteel, licensed **CC-BY**: training and evaluation audio. The test clip `packages/tilawa-core/test/fixtures/tlog-clean-00010-630.wav` (not shipped in the package) comes from tlog. - **Quranic Universal Ayahs** and the **QUD alignment benchmark** (`QUD-Technologies/quranic-universal-ayahs`), by QUD Technologies, licensed **CC-BY**: training and evaluation audio and alignments. - **muaalem** (`obadx/muaalem-model-v3_2`), licensed **MIT**: the teacher the listener is distilled from, and its phoneme inventory (`muaalem-v3_2-phonemes`). - **quran-transcript** (`obadx/quran-transcript`, 0.6.4), licensed **MIT**: the phonemization behind `assets/ref-v2.json` and `assets/phrases-v1.json`. - **k2-fsa icefall** (`k2-fsa/icefall`), licensed **Apache-2.0**: the streaming Zipformer architecture, training recipe and ONNX export. The full tier is initialised from icefall's LibriSpeech streaming Zipformer. - **Tanzil** (tanzil.net): the Uthmani Quran text the reference is derived from. Tanzil's terms ask that the text be reproduced verbatim, with Tanzil credited as its source and a link to tanzil.net. - **ONNX Runtime** (`microsoft/onnxruntime`, MIT): inference. It is a peer dependency, installed by the app. ## 0.x engine and the old `lab/` harness (not part of `@tilawa/core` 1.x) The 0.x package and the Python harness in `lab/` (removed; see [`2a29b3b`](https://github.com/yazinsai/tilawa/tree/2a29b3b/lab)) used the models and data below. Nothing from them ships in `@tilawa/core` 1.x. ### Acknowledgements - **Quran-Lab** ([`Quran-Lab/zipformer_p-arabic-v3`](https://huggingface.co/Quran-Lab/zipformer_p-arabic-v3), author Muno459 / Quran-Lab): streaming Zipformer2-CTC acoustic model, 251-token vocabulary, phoneme lexicon (`quran_text2phoneme.json`), and eval/export scripts. NPL-1.2 §6 does not require attribution; we credit them anyway. Full text: [`licenses/NPL-1.2.txt`](licenses/NPL-1.2.txt). - **alketab** ([ملقّن القرآن](https://prompter.alketab.app/), `@alketab/quran-engine`): design source for the recitation pipeline specified in `lab/docs/specs/recitation-engine-spec.md`. The phoneme corpus in `lab/data/zipformer/quran.json` comes from alketab (itself derived from Quran-Lab's `quran_text2phoneme.json`). Nothing from the recovered alketab engine remains in this repository. The 0.x `packages/tilawa-core/src/recitation/` (removed in 1.0) was a clean-room MIT reimplementation from that spec plus the dump-vector oracles in `lab/docs/specs/vectors/` (dumped from the original engine before its removal at `e172b79`). Licence of the original engine was unstated; we grant no licence to that recovered source. - **k2 / icefall** (Apache-2.0) and **lhotse** (Apache-2.0): Zipformer training and export stack. - **onnxruntime** (MIT): ONNX inference. - Training audio for our fine-tunes: EveryAyah (`tarteel-ai/everyayah` / `greentechapps/everyayah_curated_1s_20s`, MIT); QUA (`hetchyy/quranic-universal-ayahs`, CC-BY-4.0); Iqra (`IqraEval/Iqra_train`, unstated); RetaSy (`RetaSy/quranic_audio_dataset`, unstated); TLOG (`tarteel-ai/tlog`, unstated). QuranTTS (`Quran-Lab/QuranTTS`, NPL-1.2) is excluded. See `lab/docs/plans/2026-09-14-sota-tilawa.md` §3.1 and `lab/scripts/prepare_zipformer_data_modal.py`. ### Licensing of 0.x model artefacts These artefacts are **NPL-1.2 Derivatives** of Quran-Lab's Work. NPL-1.2 §7 is share-alike: a Derivative includes models trained, fine-tuned, or *evaluated* with the Work, and datasets, lexicons, or label sets produced from it. They are **not** covered by this repository's MIT licence: - `lab/data/zipformer/quran_phoneme_zipformer.onnx` (byte-identical to Quran-Lab `zipformer_p_arabic_v3.1.int8.onnx`) - Fine-tuned checkpoints (`ft-*`) - Blended model `interp-gentle-a0.5` (0.5 v3.1 + 0.5 ft-gentle), the previous default - Default model `a0w-ep1-a0.5` (`zipformer_a0w_ep1_a05.int8.onnx`: 0.5 v3 + 0.5 a0w-w2 epoch 1, fine-tuned on the training audio above; int8, with an extra encoder-frame output), distributed with `NPL-1.2.txt` at the `zipformer-a0w-ep1-a0.5` GitHub release - 251-token vocabulary `lab/experiments/zipformer-ctc/tokens.txt` - Phoneme lexicon in `lab/data/zipformer/quran.json` - Training labels produced from that lexicon - Copied eval scripts in `lab/experiments/zipformer-ctc/reference_tools/` (already marked NPL-1.2) NPL-1.2 §§3/5/9: you may not charge for the Work or any feature it powers; hosted use is free or cost recovery only. Every Derivative must be distributed under NPL-1.2 (or a later Quran-Lab version). See [`licenses/NPL-1.2.txt`](licenses/NPL-1.2.txt). Repository code and non-derived assets remain MIT. Tanzil Quran Text Copyright (C) 2007-2021 Tanzil Project License: Creative Commons Attribution 3.0 This copy of the Quran text is carefully produced, highly verified and continuously monitored by a group of specialists in Tanzil Project. TERMS OF USE: - Permission is granted to copy and distribute verbatim copies of this text, but CHANGING IT IS NOT ALLOWED. - This Quran text can be used in any website or application, provided that its source (Tanzil Project) is clearly indicated, and a link is made to tanzil.net to enable users to keep track of changes. - This copyright notice shall be included in all verbatim copies of the text, and shall be reproduced appropriately in all files derived from or containing substantial portion of this text. Please check updates at: http://tanzil.net/updates/ Copyright © 2017 IBM Corp. with Reserved Font Name "Plex" This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL ----------------------------------------------------------- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ----------------------------------------------------------- PREAMBLE The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others. The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives. DEFINITIONS "Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation. "Reserved Font Name" refers to any names specified as such after the copyright statement(s). "Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s). "Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment. "Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software. PERMISSION & CONDITIONS Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions: 1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself. 2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user. 3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users. 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission. 5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software. TERMINATION This license becomes null and void if any of the above conditions are not met. DISCLAIMER THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. Copyright 2010-2022 The Amiri Project Authors (https://github.com/aliftype/amiri). Amiri-Italic.ttf: Copyright 2010-2022 The Amiri Project Authors (https://github.com/aliftype/amiri). Amiri-Bold.ttf: Copyright 2010-2022 The Amiri Project Authors (https://github.com/aliftype/amiri). Amiri-BoldItalic.ttf: Copyright 2010-2022 The Amiri Project Authors (https://github.com/aliftype/amiri). This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL ----------------------------------------------------------- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ----------------------------------------------------------- PREAMBLE The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others. The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives. DEFINITIONS "Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation. "Reserved Font Name" refers to any names specified as such after the copyright statement(s). "Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s). "Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment. "Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software. PERMISSION & CONDITIONS Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions: 1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself. 2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user. 3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users. 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission. 5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software. TERMINATION This license becomes null and void if any of the above conditions are not met. DISCLAIMER THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. ONNX Runtime Web v1.30.0 Copyright (c) Microsoft Corporation. All rights reserved. MIT License 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.