diff --git a/CHANGELOG.md b/CHANGELOG.md index ed973cf..7ad02d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ ## [Unreleased][unreleased] +## [v1.9.2] + +**Release date: 2026-10-01** + +### Added + +* Possessive `'s` (also `’s`) as an English particle, with examples for + possession and association. Docker merges this dictionary extra into + `omw-en:1.4`. Its stable concept ID is `omw-en-extra-possessive-s-y`. + ([sign/wn#10](https://github.com/sign/wn/pull/10)) + + ## [v1.9.1] **Release date: 2026-10-01** diff --git a/Dockerfile b/Dockerfile index 7bd9f4e..5c493fb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,6 +27,10 @@ COPY extensions/wikidata-lexemes/output ./extensions/wikidata-lexemes/output COPY extensions/wikidata-lexemes/merge_extension.py ./extensions/wikidata-lexemes/merge_extension.py RUN python extensions/wikidata-lexemes/merge_extension.py extensions/wikidata-lexemes/output/*.xml +# Small dictionary additions maintained separately from generated Wikidata data. +COPY extensions/extras/ ./extensions/extras/ +RUN python extensions/wikidata-lexemes/merge_extension.py extensions/extras/*.xml + # Reviewed learner content is opt-in until the dictionary exposes AI attribution. ARG INSTALL_ENGLISH_LEARNER=false COPY extensions/english-learner/ ./extensions/english-learner/ diff --git a/extensions/extras/README.md b/extensions/extras/README.md new file mode 100644 index 0000000..553e34b --- /dev/null +++ b/extensions/extras/README.md @@ -0,0 +1,16 @@ +# Dictionary extras + +Small, manually maintained additions missing from the source lexicons. Keep +these separate from generated Wikidata output so regeneration preserves them. +Docker merges them into their base lexicon using the existing merge utility: + +```sh +python extensions/wikidata-lexemes/merge_extension.py extensions/extras/*.xml +``` + +The English extension adds possessive `'s` (also `’s`) as a particle, covering +possession and association, including independent uses such as “This is John's.” +It does not add the contractions of “is” or “has.” + +Its concept ID is `omw-en-extra-possessive-s-y`; dictionary sign links use the +short ID `extra-possessive-s-y`. These IDs must remain stable. diff --git a/extensions/extras/en.xml b/extensions/extras/en.xml new file mode 100644 index 0000000..363a875 --- /dev/null +++ b/extensions/extras/en.xml @@ -0,0 +1,23 @@ + + + + + + + +
+ + + + a marker added to a noun or noun phrase to show possession or association + The clinic specializes in women's health. + This is John's coat. + This coat is John's. + + + diff --git a/wn/__init__.py b/wn/__init__.py index efc36b7..7ce15ec 100644 --- a/wn/__init__.py +++ b/wn/__init__.py @@ -37,7 +37,7 @@ "word", "words", ) -__version__ = "1.9.1" +__version__ = "1.9.2" from wn._add import add, add_lexical_resource, remove from wn._config import config # noqa: F401