Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand Down
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
16 changes: 16 additions & 0 deletions extensions/extras/README.md
Original file line number Diff line number Diff line change
@@ -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.
23 changes: 23 additions & 0 deletions extensions/extras/en.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE LexicalResource SYSTEM "https://globalwordnet.github.io/schemas/WN-LMF-1.4.dtd">
<LexicalResource xmlns:dc="https://globalwordnet.github.io/schemas/dc/">
<LexiconExtension id="extras-en"
label="English Dictionary Extras"
language="en"
email="amit@nagish.com"
license="https://opensource.org/license/mit/"
version="1.0">
<Extends id="omw-en" version="1.4"/>
<LexicalEntry id="omw-en-extra-possessive-s">
<Lemma writtenForm="'s" partOfSpeech="y"/>
<Form writtenForm="’s"/>
<Sense id="omw-en-extra-possessive-s-1" synset="omw-en-extra-possessive-s-y"/>
</LexicalEntry>
<Synset id="omw-en-extra-possessive-s-y" ili="" partOfSpeech="y">
<Definition>a marker added to a noun or noun phrase to show possession or association</Definition>
<Example>The clinic specializes in women's health.</Example>
<Example>This is John's coat.</Example>
<Example>This coat is John's.</Example>
</Synset>
</LexiconExtension>
</LexicalResource>
2 changes: 1 addition & 1 deletion wn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading