Living Dictionaries support: LD-shaped round-trip test + export docs
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- python
- Lĩnh vực
- documentation, testing
Hướng nghiên cứu
Bắt đầu với các bài kiểm thử hiện có của writer, validator và CLI, sau đó sử dụng danh sách construct dạng LD trong issue này để xây dựng trường hợp round-trip và kiểm tra iter_problems(). Cập nhật docs/en/guides/lift-export-interop.md với ví dụ về phạm vi semantic-domain có tên, đồng thời dùng docs/en/guides/build-export.md làm cơ sở cho tài liệu tham chiếu về ánh xạ trường. Được xem là hoàn tất khi các giá trị vẫn tồn tại qua build, save và reload, quá trình validation không có lỗi, và cả hai chủ đề xuất LD đều được ghi lại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 0
- Merge trung bình
- 11 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của sillsdev/python-sil-lift
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
sillsdev/python-sil-lift#15 ·
-
bug
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
sillsdev/python-sil-lift#45 ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
sillsdev/python-sil-lift#35 ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
sillsdev/python-sil-lift#33 ·
-
Evaluate full API surface for anything unnecessaryCó thể đã có người làm @imnasnainaec đã nhận 20 ngày trước. Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
sillsdev/python-sil-lift#30 · 1 bình luận · 1 người được giao ·
Tất cả issue của sillsdev/python-sil-lift
Issue tương tự
-
Path subtraction removes repeated suffix characters instead of one suffixCó thể đã có người làm @Gwerdonatus đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
joke2k/django-environ#671 ·
-
good first issue help wanted windows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
-
test_pgbouncer deploys the server under test from Charmhub instead of the local build (track/1.31)Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
canonical/temporal-k8s-operator#195 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
`burr` fails to start when the Python path has a space in itCó thể đã có người làm @enekoreto đã nhận hôm nay. Đang mởstatus/needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 5 ngày
-
device support request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
zigpy/zha-device-handlers#5461 ·
Maintainer thường phản hồi trong vòng 4 ngày