feat(seed): file bilingual senses under one headword #25
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
Reviewed/Confirmed
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Status/Abandoned
Status/Blocked
Status/Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
project-halkyon/halkyon-curator!25
Loading…
Reference in a new issue
No description provided.
Delete branch "refs/pull/25/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PONS has no nested sense list — it prints one headword per sense and
tells them apart with a parenthetical:
roll,roll (list),roll (meat),roll (roller), eighteen of them forrollalone.Seeded verbatim that is eighteen catalog entries, so a lookup returns a
wall of near-identical results and a bulk-add makes eighteen cards for
one word.
Splitting the qualifier off recovers the structure PONS is really
expressing:
rollis the entry,(list)and(meat)label its senses.The base form becomes the expression, the qualifier a per-sense
label,and the existing merge collapses the siblings into one entry with
numbered senses. 114,830 English rows become 102,381.
Whatever follows a parenthetical is kept, so
encroachment (incursion) onfiles underencroachment onrather thanencroachment: aconstruction with a preposition is a different headword, and PONS lists
it separately too. Square brackets are PONS's notation for optional text
(
to encroach [up]on sb), not sense disambiguation, and are left alone.The merge now keys on
expressionalone rather than (expression,reading). PONS prints the IPA on whichever sense-entry it pleases, sosiblings share a base form but not a reading, and keying on reading
would preserve the very fragmentation this exists to undo. The cost is
that true homographs (
read/riːd/ vs /rɛd/) collapse into one entry —which is how PONS files them anyway, one page per spelling. A merged
entry keeps the first non-empty reading and unions the search blobs, so
"boarding school" still reaches
house.Signed-off-by: Tizian 「ティツィアーン」 raisondetredev@pm.me