Living Dictionaries support: LD-shaped round-trip test + export docs
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 72/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Tranquilla
- Stack tecnologico
- python
- Ambito
- documentation, testing
Direzione di ricerca
Inizia con i test esistenti di writer, validator e CLI, poi usa l’elenco delle costruzioni in forma LD presente in questa issue per assemblare il caso di round-trip e verificare iter_problems(). Aggiorna docs/en/guides/lift-export-interop.md con l’esempio denominato di intervallo semantic-domain e usa docs/en/guides/build-export.md come base per il riferimento al mapping dei campi. Il lavoro è completato quando i valori superano build, save e reload, la validazione è pulita ed entrambi gli argomenti dell’esportazione LD sono documentati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Background
SIL is investigating LIFT export for Living Dictionaries (sillsdev/TheCombine#4332); if it proceeds, python-sil-lift would be the conformance validator, a Python writer for a converter route, and the reference for conformant output. The writer/validator/CLI already cover the constructs involved — this issue adds the two things still missing here: a test proving the LD field model round-trips, and export docs tailored to the LD case.
Tests
- Full LD-shaped entry round-trip. One entry exercising every construct the LD→LIFT mapping uses, together: a multi-orthography
lexical-unit; aPronunciationwith a speaker-labelformsentry (The Combine'sSpeaker: <name>convention) plusmedia; aSensewithgrammatical-info,gloss,definition, anExample+Translation, anillustration(URLRefwith a captionlabel), asemantic-domain-ddp4trait, and LD-only data carried as<field>/<trait>. Build → save → reload → assert the values survive anditer_problems()is clean. The model already supports all of these, so this is verification, not new code. - (Optional, once a real sample is available) add a representative Living Dictionaries export as a corpus fixture (with provenance) and validate it end-to-end.
Docs
- Semantic-domain representation for LD — in the Producing conformant LIFT guide (
docs/en/guides/lift-export-interop.md), document how to emit LD's ~69-key vocabulary as its own named range in.lift-ranges(lossless, self-describing), with a short example. - LD → LIFT field-mapping reference — a concise summary (MultiString →
<form lang>, audio/speaker labels, sense photos as<illustration>, LD-only fields as<field>/<trait>) so an exporter author has one place to look; can build on the existing Building a LIFT export from scratch example (docs/en/guides/build-export.md).
Non-goals
- Any LD exporter (would live in Living Dictionaries / a converter, not here).
- Bundling the DDP4 taxonomy.
- Lingua principale
- Python
- Stelle
- 1
- Fork
- 0
- Merge medio
- 11g 3h
- PR unite (30g)
- 6
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di sillsdev/python-sil-lift
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
sillsdev/python-sil-lift#15 ·
-
bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
sillsdev/python-sil-lift#45 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
sillsdev/python-sil-lift#35 ·
-
Media hrefs resolve case-sensitively: Windows-authored folders get false missing-media on Linux Apertabug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
sillsdev/python-sil-lift#34 · 1 commento · 1 assegnatario ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
sillsdev/python-sil-lift#33 ·
Tutte le issue di sillsdev/python-sil-lift
Issue simili
-
bug confirmed issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
open-webui/open-webui#30750 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100