# Duo Bible dictionary data (v1)

The files `en.v1.json.gz`, `pt.v1.json.gz`, `fa.v1.json.gz` and `syr.v1.json.gz` are derived databases built by
`tools/dict/build.py`. They are published openly, in full, at https://duobible.bodylinesystems.com/dictionary/
(free download, outside the App Store) and inside every copy of the app (`dict/` in the app bundle), under the
**Creative Commons Attribution-ShareAlike 4.0 International license (CC BY-SA 4.0)**, https://creativecommons.org/licenses/by-sa/4.0/ .
You may copy, adapt and share them, including commercially, if you give credit and share your adaptations under the same license.

## Sources and credit

| Source | What we used | License |
|---|---|---|
| Wiktionary (English, Portuguese and Persian editions), contributors of https://www.wiktionary.org | definitions, glosses, IPA pronunciations, inflected forms | CC BY-SA 4.0 (text also GFDL) |
| kaikki.org machine-readable Wiktionary extracts (Tatu Ylonen, wiktextract) | the English, Portuguese, Persian and Classical Syriac entries above, in JSON | CC BY-SA 4.0 (same as Wiktionary) |
| CMU Pronouncing Dictionary, Carnegie Mellon University | US English pronunciations where Wiktionary has none (converted to IPA) | BSD-style (see below) |
| M. G. Easton, Illustrated Bible Dictionary (1897) | one-line identifications of Bible names | Public domain |
| Roswell D. Hitchcock, Bible Names Dictionary (1869) | meanings of Bible names | Public domain |
| Duo Bible editors | curated entries (flag 2), Bible-verse sense choices (flag 4), Syriac verse alignments | CC BY-SA 4.0 |

Changes made: entries were filtered to the words that occur in the five bundled Bibles, shortened to one sense,
re-ranked using the parallel English verses (BSB and KJV), joined to an English block, and given a plain
"say it like" respelling generated from the IPA. Persian Wiktionary pages that cite or copy the Dehkhoda or Moein
dictionaries were excluded entirely. No SEDRA data is included. Bible names that neither Wiktionary nor CMU
list get an approximate traditional English pronunciation from DuoBible's own spelling rules (tools/dict/namepron.py).

### CMU Pronouncing Dictionary notice
Copyright (C) 1993-2015 Carnegie Mellon University. All rights reserved. Redistribution and use in source and
binary forms, with or without modification, are permitted provided that the copyright notice, this list of
conditions and the disclaimer are retained. THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY "AS IS" AND
ANY EXPRESSED OR IMPLIED WARRANTIES ARE DISCLAIMED.

## Format
One gzipped JSON object per language: `e` entries `[headword, pos, ipa, plain, definition in the language, English gloss, English key, flags]`,
`f` inflected form to entry key, `n` Bible names `[name, ipa, plain, Easton line, Hitchcock meaning]`, `a` verse-aligned meanings
`[English word, Dice score, English key, is name, definition]`, `E` the English block entries `[headword, pos, ipa, plain, definition]`.
Flags: 1 archaic, 2 curated, 4 sense chosen from the parallel verses, 8 name.

## Fonts and code shipped with the dictionary
* `assets/ipa.woff2`: "DuoBible IPA", a subset of Charis SIL 6.200 (SIL International), SIL Open Font License 1.1. Renamed because "Charis" and "SIL" are Reserved Font Names. See `assets/ipa-OFL.txt`.
* `vendor/gunzip.js`: fflate 0.8.2 by Arjun Barrett, MIT License. See `vendor/fflate-LICENSE.txt`.
