Living Dictionaries support: LD-shaped round-trip test + export docs
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 72/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 静か
- 技術スタック
- python
- 領域
- documentation, testing
調査の方向性
既存の writer、validator、CLI のテストから始め、この issue にある LD 形状の構成要素リストを使ってラウンドトリップのケースを組み立て、iter_problems() を確認します。docs/en/guides/lift-export-interop.md を更新して名前付き semantic-domain 範囲の例を追加し、フィールドマッピングのリファレンスの基礎として docs/en/guides/build-export.md を使用します。完了の条件は、値が build、save、reload を通過して保持され、検証がクリーンで、両方の LD エクスポートトピックが文書化されていることです。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 1
- フォーク
- 0
- 平均マージ
- 11日 3時間
- マージ済み PR(30日)
- 6
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sillsdev/python-sil-lift のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
sillsdev/python-sil-lift#15 ·
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
sillsdev/python-sil-lift#45 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
sillsdev/python-sil-lift#35 ·
-
Media hrefs resolve case-sensitively: Windows-authored folders get false missing-media on Linux対応中かも @imnasnainaec が 5 日前に担当しました。 オープンbug
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
sillsdev/python-sil-lift#34 · コメント 1 件 · 担当者 1 名 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
sillsdev/python-sil-lift#33 ·
sillsdev/python-sil-lift の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
PedestrianDynamics/pyFDS-Evac#199 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
521xueweihan/HelloGitHub#3790 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sandialabs/atlas-ui-3#978 ·
メンテナーはふだん 1 日以内に返信
-
area: tests perceived difficulty: 2
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Nitjsefnie-Harness-Commons/daedalus#1255 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
EleutherAI/lm-evaluation-harness#4256 ·
メンテナーはふだん 1 日以内に返信