diff --git a/CHANGELOG.md b/CHANGELOG.md index 9793998..397c309 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## [Unreleased][unreleased] +## Index +* Added `oewn:2024` ([#221]) + ## [v0.10.1] @@ -693,3 +696,4 @@ abandoned, but this is an entirely new codebase. [#213]: https://github.com/goodmami/wn/issues/213 [#214]: https://github.com/goodmami/wn/issues/214 [#215]: https://github.com/goodmami/wn/issues/215 +[#221]: https://github.com/goodmami/wn/issues/221 diff --git a/README.md b/README.md index e006291..334dd17 100644 --- a/README.md +++ b/README.md @@ -42,14 +42,14 @@ conda install -c conda-forge wn First, download some data: ```sh -python -m wn download oewn:2023 # the Open # English WordNet 2023 +python -m wn download oewn:2024 # the Open English WordNet 2024 ``` Now start exploring: ```python >>> import wn ->>> en = wn.Wordnet('oewn:2023') # Create Wordnet object to query +>>> en = wn.Wordnet('oewn:2024') # Create Wordnet object to query >>> ss = en.synsets('win', pos='v')[0] # Get the first synset for 'win' >>> ss.definition() # Get the synset's definition 'be the winner in a contest or competition; be victorious' @@ -90,7 +90,7 @@ use with the Portuguese wordnet [OpenWordnet-PT]). | Name | Specifier | # Synsets | Notes | | ------------------------------------------ | ---------------------- | --------: | ----- | -| [Open English WordNet] | `oewn:2023`
`oewn:2022`
`oewn:2021`
`ewn:2020`
`ewn:2019` | 120135
120068
120039
120053
117791 | Recommended
 
 
 
  | +| [Open English WordNet] | `oewn:2024`
`oewn:2023`
`oewn:2022`
`oewn:2021`
`ewn:2020`
`ewn:2019` | 120630
120135
120068
120039
120053
117791 | Recommended
 
 
 
 
  | | [OMW English Wordnet based on WordNet 3.0] | `omw-en:1.4` | 117659 | Included with `omw:1.4` | | [OMW English Wordnet based on WordNet 3.1] | `omw-en31:1.4` | 117791 | | | [OpenWordnet-EN] | `own-en:1.0.0` | 117659 | Included with `own:1.0.0` | diff --git a/docs/cli.rst b/docs/cli.rst index c9359fb..40a6214 100644 --- a/docs/cli.rst +++ b/docs/cli.rst @@ -86,6 +86,7 @@ index. This is helpful to see what is available for downloading. $ python -m wn projects ic cili 1.0 [---] Collaborative Interlingual Index + ic oewn 2024 [en] Open English WordNet ic oewn 2023 [en] Open English WordNet ic oewn 2022 [en] Open English WordNet ic oewn 2021 [en] Open English WordNet diff --git a/wn/index.toml b/wn/index.toml index 27ff882..69e58c2 100644 --- a/wn/index.toml +++ b/wn/index.toml @@ -10,6 +10,11 @@ label = "Open English WordNet" language = "en" license = "https://creativecommons.org/licenses/by/4.0/" + [oewn.versions.2024] + url = """ + https://en-word.net/static/english-wordnet-2024.xml.gz + https://github.com/globalwordnet/english-wordnet/releases/download/2024-edition/english-wordnet-2024.xml.gz + """ [oewn.versions.2023] url = """ https://en-word.net/static/english-wordnet-2023.xml.gz