شعرها: حافظ، تصحیح محمد قزوینی و قاسم غنی؛ متن از ویکینبشته و مشارکتکنندگان آن، با یکسانسازی نگارش. متن و برداشتهای تازهٔ این ربات با مجوز CC BY-SA 4.0 منتشر میشوند.
منبع: https://fa.wikisource.org/wiki/دیوان_حافظ
مجوز: https://creativecommons.org/licenses/by-sa/4.0/
Creative Commons Attribution-ShareAlike 4.0
متن اشعار از حافظ، تصحیح قزوینی–غنی و مشارکتکنندگان ویکینبشته است. نگارش یکسان شده و برداشتها برای این ربات نوشته شدهاند.
# S533 Lane B — source and reuse record Checked 2026-10-17. This record applies to `ghazals.json`, not to bot code. No audio, user comments, modern explanations, or Ganjoor summaries are included. ## Selected source: Persian Wikisource, Ghazvini–Ghani edition - Text and contributor histories: https://fa.wikisource.org/wiki/دیوان_حافظ . Each poem's exact page, revision, scan leaves and original printed number are recorded in `provenance.json`. - Edition: *Divan-e Hafez*, edited by Mohammad Qazvini and Qasem Ghani, Zovvar / Sina, Tehran, 1941 (1320 SH). The title page and index identify the editors and publisher. Scan description: https://fa.wikisource.org/wiki/پرونده:حافظ_قزوینی_غنی.pdf . The scan is marked Public domain with an Iran public-domain notice; this is evidence about that scan, not an assumption that all digital Hafez editions are unrestricted. - Exact text notice on the selected text pages (the license link resolves to CC BY-SA **4.0**): > متن تحت Creative Commons Attribution-ShareAlike License در دسترس است؛ > شرایط اضافی میتواند اعمال گردد. برای جزئیات بیشتر، شرایط استفاده را ببینید. - License: Creative Commons Attribution-ShareAlike 4.0 International, https://creativecommons.org/licenses/by-sa/4.0/ . Exact complete license text is preserved in `LICENSE-CC-BY-SA-4.0.txt`, retrieved from https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt . - Wikimedia reuse terms: https://foundation.wikimedia.org/wiki/Policy:Terms_of_Use#7._Licensing_of_Content . Attribution can link to the reused page, whose history identifies contributors. The manifest preserves those links for every poem, including transcluded scan leaves. License and modification notice must travel with redistributions. - **Verdict: selected, redistribution in a bot permitted under CC BY-SA 4.0.** The underlying medieval poems are public domain; we also honor the digital transcription's stated license. The current user brief explicitly permits CC BY-SA (broader than the original Lane B table's CC BY wording). Keep this file, license, provenance, and attribution when distributing the data. Adapted text/data is offered under CC BY-SA 4.0; this does not impose a license on independent bot code. - Changes: extract complete poem bodies (omitting editorial footnote markers and notes), pair consecutive hemistichs into one string per couplet with `\n`, normalize Unicode NFC, Arabic yeh/kaf to Persian ی/ک, remove invisible direction controls and layout whitespace, and add explicit, reviewed ZWNJ spellings. Poem titles use the opening hemistich. IDs are local stable IDs in the source index's order, **not** Ganjoor/printed ghazal numbers; see provenance for the latter. - Readings are newly written for this bot, not copied interpretations, translations, or statements from Wikisource/Ganjoor. They are playful invitations to reflection, not predictions. These readings and the compilation are also offered under CC BY-SA 4.0. The final entertainment line is included in every `reading`. ## S535 spelling review Reviewed all 100 poems for missing ZWNJ and clear word boundaries. The exact changes are recorded in `ORTHOGRAPHY-S535.md`; original normalized-source poem hashes are retained as `sourcePoemSha256` in provenance, alongside updated shipped-text hashes. Source revision and HTML hashes are unchanged. ## Required /help attribution Display this text with the two links; the data-source link must lead to this record and the per-poem provenance when the bot is published. Lane B only records the copy; Lane A owns /help implementation. > شعرها: حافظ، تصحیح محمد قزوینی و قاسم غنی؛ متن از ویکینبشته و مشارکتکنندگان آن، با یکسانسازی نگارش. متن و برداشتهای تازهٔ این ربات با مجوز CC BY-SA 4.0 منتشر میشوند. > منبع: https://fa.wikisource.org/wiki/دیوان_حافظ > مجوز: https://creativecommons.org/licenses/by-sa/4.0/ For individual exported/shared cards, preserve a source link to that poem (available in `provenance.json`) and the license link, or a durable source/credits page containing the per-poem list. /help alone is not a substitute for attribution on copies redistributed outside the bot. ## Ganjoor investigation — not used for poem data - https://ganjoor.net/about explains that source texts are periodically exported for others to make similar projects. This is a reuse-friendly description, not a blanket CC data license. - https://ganjoor.net/privacy concerns accounts, comments, readings, and privacy. It gives no explicit CC grant for all poetry transcriptions. - https://ganjoor.net/faq/ warns that availability is not clearance. Exact excerpt: > دادههای گنجور به شکل رایگان قابل دریافت است گنجور از لحاظ حقوقی بررسی مستقلی روی آزاد بودن این دادهها انجام نداده است. The FAQ singles out the known paper editions of Hafez and Saadi as cases with no apparent copyright issue, but tells reusers to investigate independently. This is not an explicit CC license for the current database. - https://ganjoor.net/hafez/ghazal/sh1 identifies its initial text source as «ویکیدرج». It links the Ghazvini–Ghani paper scan, including https://viewer.ganjoor.net/hafez-ghazvinighani . That scan link does not establish the terms of all digital corrections or the compilation. - Current official export: https://github.com/ganjoor/ganjoor-data and https://raw.githubusercontent.com/ganjoor/ganjoor-data/main/README.md . The README calls it a public export, but the root has **no LICENSE** and states no explicit text/data grant. **Verdict: not selected; public accessibility alone is insufficient.** - Older official database wrapper: https://github.com/ganjoor/ganjoor-db ; exact license https://raw.githubusercontent.com/ganjoor/ganjoor-db/master/LICENSE is reproduced below. Its wording licenses “software and associated documentation files”; the README calls this a MySQL Docker project. It does not clearly resolve the underlying editions' text rights. **Verdict: MIT wrapper, not relied on as a blanket poetry/data grant.** - Official service software: https://github.com/ganjoor/GanjoorService/blob/main/LICENSE begins exactly `GNU GENERAL PUBLIC LICENSE` / `Version 3, 29 June 2007`. **Verdict: GPL-3.0 software license; not evidence that the separately exported texts are CC BY/PD.** No service code is copied here. Exact older database-wrapper license: ```text MIT License Copyright (c) 2017 Ganjoor 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. ``` ## Validation scope The banned-topic and guarantee checks apply to the **new readings**, where the contract forbids such statements. Original Hafez poems naturally contain figurative words about those topics; the source poems remain complete and are not censored. Empty fields, Arabic ي/ك, invisible controls, duplicate poems/IDs/titles/readings, and malformed couplets are checked throughout. The entertainment footer is the only deliberately repeated sentence. Tags are Persian thematic labels, distinct from Telegram start-payload routing tags.