Repository navigation
feat: add Al-Khatib's New Dictionary of Scientific and Technical Terms (Q12244028) - #61
Merged
Merged
Conversation
forzagreen
force-pushed
the
feat/military-dictionary
branch
from
October 7, 2026 06:49
7485c54 to
51c9712
Compare
forzagreen
force-pushed
the
feat/khatib-scientific-technical
branch
from
October 7, 2026 06:51
656b9fa to
50b58d1
Compare
…s (Q12244028)
Adds `khatib_scientific_technical`: معجم المصطلحات العلمية والفنية والهندسية
الجديد (لبنان ناشرون، 2018), the English-Arabic dictionary of Ahmed Shafiq
Al-Khatib.
- 71561 terms, extracted from the voice dictionary on mou3jam.com
(dictionary 7: 71525 entries and 6827 sub-entries). Three entries without
Arabic are left out.
- One row per headword. `arabic` holds the terms of all its senses joined
with "؛" ("،" between synonyms is kept as printed); `description` is the
full text of the senses when it says more (15847 terms). The 39 sub-entries
that have a keyword of their own ("abandon a claim", "medium (pl. media)")
are rows of their own.
- Headwords are kept as printed, including "X = Y" synonyms and inverted
forms ("pool, oil").
- Repairs of the source, each by entry id: 44 definitions whose first letter
is missing or that start with a stray vowel mark, 91 entries (88 under B)
where the last printed line of the first sense was stored as the headword's
own definition, 6 mangled headwords ("0" for "center", "arءte"), about 20
single typos.
- The longest entries ("set", "strike") keep in `arabic` only the terms that
fit in 255 characters.
- `dict_type` is `terminology`, `tier` is 2.
forzagreen
force-pushed
the
feat/khatib-scientific-technical
branch
from
October 7, 2026 08:28
50b58d1 to
f47cd2e
Compare
forzagreen
marked this pull request as ready for review
October 7, 2026 08:30
forzagreen
added a commit
to forzagreen/wikitermbase
that referenced
this pull request
Oct 7, 2026
The refresh-dump workflow could no longer push its branch: with the two dictionaries added in forzagreen/arabterm#60 and forzagreen/arabterm#61, db/arabterm.sql is 109.50 MB, over GitHub's limit of 100 MB per file. The dump is now committed as db/arabterm.sql.gz (about 25 MB), the way arabterm commits its own database: - `make download_dump` keeps the downloaded archive and checks it; `make fix_dump` applies its two fixes through a pipe and recompresses with `gzip -n`, so that an unchanged dump gives an unchanged file. - `deploy-db` imports with `gunzip -c db/arabterm.sql.gz | mariadb ...`, after `gzip -t`. - GitHub shows no diff of a gzipped file, so the refresh pull request now states how many SQL lines were added and removed, next to the data summary sent by arabterm. db/arabterm.sql.gz in this commit is the dump that was already committed, byte for byte once unpacked: merging re-imports the same data, which exercises the new import path before any data change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
khatib_scientific_technical: معجم المصطلحات العلمية والفنية والهندسية الجديد (لبنان ناشرون، 2018), the English-Arabic dictionary of Ahmed Shafiq Al-Khatib (Q12244028, the newer "الجديد" edition, not the 6th edition).Before merging
Stacked on #60 (the Military Dictionary), because the dictionary and term ids follow from it; that is why it is a draft and targets
feat/military-dictionary. After #60 is squash-merged, rebase withgit rebase --onto main feat/military-dictionary feat/khatib-scientific-technical; the four files then apply as they are. If #60 changes its number of rows, this one has to be rebuilt.Dumps
Both dumps are regenerated and included.
sqlite33.53.4 (the official build); it reproduces the dump committed onmainbyte for byte frommain's database.migrate_to_mariadb.py). The copy was checked againstarabterm.db(row counts per dictionary and checksums of every column), and full-text search returns the new terms.mariadb-dump11.8.9 on x86_64 instead of 11.8.5 on aarch64. Compared with feat: add the Military Dictionary of Librairie du Liban (Q138767450) #60's dump, every existing row is unchanged; besides the new rows, only the header comments, theAUTO_INCREMENTvalues and the autocommit statements around the inserts differ.What is in it
areostyleandDVD(pointers to another headword) andshower pan = shower tray(empty on the site).arabicholds the terms of all senses joined with؛, and،between synonyms is kept as printed.descriptionis the full text of the senses, numbered(1) (2)when there are several, when it says more thanarabic(15847 terms).abandon a claim, or a form of the parent such asmedium (pl. media),ward (with off).X = Ysynonyms and inverted forms (pool, oil);medical_terms_*already has both.10⁻¹⁹);پ,ڤandڠare kept as in the source.Repairs of the source
The digitised text is damaged in places. Every repair is keyed by entry id in the assemble script; these are worth a look:
ُعاصِرforمُعاصِرundercontemporary,َطَلforبَطَلunderchampion). The letter is supplied from the English headword; these are readings, not source text.bastard:شاذّ، غيرُin one place andقِياسيّ. غيرُ مُتناسِقin the other). The two parts are rejoined only where the break is evident (an open parenthesis, a trailing colon or preposition, an explanation in progress); otherwise they stay two senses of the same row.0forcenter,arءteforarête,Debye-Hدckel,vis-ب-vis,wدstite,Celsiusor.deep,demand),bentand90° bentswapped, broken<sup>markup, a?where the site lostλ.Known limits
set,strike,run) keep inarabiconly the terms that fit in 255 characters; the description has all of them.Chem.,Elec. Eng., two thirds of the entries) are not mapped to any column.To check
tieris set to 2 anddict_typetoterminology; change the tier if you rank it differently.name_englishandname_frenchfollow the Wikidata labels, without their "Arabic-English" (the dictionary is English-Arabic) and with the publisher written as in feat: add the Military Dictionary of Librairie du Liban (Q138767450) #60.make validatepasses locally on the new database.