feat(dictionary): add hnc_rank column to dictionary_entries #71
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-infra!71
Loading…
Reference in a new issue
No description provided.
Delete branch "refs/pull/71/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?
Adds
hnc_rank INTEGER(nullable) + a partial index on(language, hnc_rank).1-based HNC frequency rank (1 = most common; NULL when the word isn't in the HNC lists). The nested
hnc_lemma_words_<N>booleans give only a coarse 500-step band and can't order two words within the same band;hnc_rankis the per-word ordinal that lets bulk-add introduce Greek cards most-common-first.Populated by the curator (
seed_bilingual --hnc-bulk-dirat seed time, orbackfill_hnc_rankfor already-seeded rows — halkyon-curator#23). Safe, additiveADD COLUMN IF NOT EXISTS; apply via the SQL editor.