File: CHANGELOG.md

package info (click to toggle)
python-wn 1.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,100 kB
  • sloc: python: 8,429; xml: 566; sql: 238; makefile: 12
file content (947 lines) | stat: -rw-r--r-- 29,656 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
# Change Log

## [Unreleased][unreleased]

Notable changes in this release:
* A new version of the database schema requires a database rebuild
* A new `wn.ili` module deals with ILI files and objects; interlingual
  queries still use the `Synset.ili` member, which is now a simple `str`
* The Open English Wordnet versions 2025 and 2025+ are added to the index

### Index

* Add `oewn:2025` ([#294])
* Add `oewn:2025+` ([#294])
* Add `omw:2.0`, including `2.0` versions of individual OMW lexicons ([#300])

### Schema

* Add `specifier` column to `lexicon` table ([#234])
* Remove `lexicalized` column from `synsets` and `senses` ([#248])
* Add `unlexicalized_synsets` and `unlexicalized_senses` tables ([#248])
* Add `lexicon_rowid` column to `pronunciations` and `tags` ([#303])

### Added

* `wn.lemmas()` function and `Wordnet.lemmas()` method to query all
  lemmas at once.
* Support for WN-LMF 1.4 ([#260])
  - Sense ordering: `index` on `<LexicalEntry>` and `n` on `<Sense>`
  - New sense relations:
    - `metaphor`
    - `has_metaphor`
    - `metonym`
    - `has_metonym`
    - `agent`
    - `material`
    - `event`
    - `instrument`
    - `location`
    - `by_means_of`
    - `undergoer`
    - `property`
    - `result`
    - `state`
    - `uses`
    - `destination`
    - `body_part`
    - `vehicle`
  - `ref` attribute for `<Requires>` and `<Extends>` ([#301])
* `wn.ili` module
* `wn.Sense.synset_relations()` ([#271])
* `wn.Pronunciation.lexicon()` method ([#303])
* `wn.Tag.lexicon()` method ([#303])
* Support for exporting lexicon extensions ([#103])
* `wn.compat.sensekey` supports the `oewn-v2` flavor for escaping and
  unescaping for the scheme used by OEWN 2025 ([#292])
* `wn.compat.sensekey` supports the `oewn:2025` and `oewn:2025+` lexicons for
  the `sense_key_getter` and `sense_getter` functions ([#292])
* `wn.reset_database()` function for reinitializing an outdated database.

### Removed

* `wn.web` module ([#295])
* `wn.Synset.relation_map()` method ([#271])
* `wn.Sense.relation_map()` method ([#271])

### Changed

* Default form normalizer uses casefold instead of lower ([#233])
* `Synset.ili` is a `str` instead of an `ILI` object.
* `Wordnet.synsets()` method and `wn.synsets()` function's only accepts `ili`
  `str` arguments for the `ili` parameter again, reverting a change from
  v0.12.0. This is because `Synset.ili` is now a simple string and `ILI`
  objects are no longer part of the core `wn` package namespace.
* `wn.Synset.relations()`: return `wn.Relation` to `wn.Synset` mapping when
  using `data=True` ([#271])
* `wn.Sense.relations()`: return `wn.Relation` to `wn.Sense` mapping when
  using `data=True` ([#271])
* Queries of relations can specify different lexicons for source and target
  (part of [#103]; not a user-facing change)

### Fixed

* WN-LMF 1.1+ `<Pronunciation>` exported properly ([#302])
* WN-LMF 1.1+ `subcat` attribute exported properly ([#302])

### Documentation

* Correct docstring for `wn.taxonomy.taxonomy_depth()` ([#291])


## [v0.14.0]

**Release date: 2025-11-16**

### Python Support

* Removed support for Python 3.9
* Added support for Python 3.14

### Added

* Preliminary XML-only support for WN-LMF 1.4 ([#260])
* `lexicon()` method on `Form`, `Example`, `Definition`, and `Count` ([#286])
* `confidence()` method ([#263])
  - On `Lexicon` defaults to 1.0
  - On existing `ILI`, defaults to 1.0
  - On `Word`, `Sense`, `Synset`, `Relation`, `Example`, `Definition`, and
    `Count`, defaults to the confidence of their lexicon.
* `/` (index) and `/health` endpoints for `wn.web` (see [#268])

### Changed

* `wn.web`: returns `JSONResponse` on most errors ([#277])

### Fixed

* Encode example metadata on export ([#285])
* Update LMF to use `https` in `dc` namespace

### Maintenance

* Added `py.typed` file to repository ([#266])
* Use `tomllib` instead of `tomli` for Python 3.11+


## [v0.13.0]

**Release date: 2025-06-13**

### Added

* Support for WN-LMF 1.4 ([#260])
* `wn.compat` namespace (see [#55])
* `wn.compat.sensekey` module ([#55]) with methods:
  - `sense_key_getter()`
  - `sense_getter()`
  - `unescape_oewn_sense_key()`
  - `escape_oewn_sense_key()`
* `wn.project.get_project()` ([#53])
* `wn.project.Project` ([#53])
* `wn.project.ResourceOnlyPackage` ([#53])
* `path` property on `wn.project.Project` classes ([#53])
* `delete` parameter on `wn.project.iterpackages()` ([#53])

### Changed

* `wn.add()` allows synset members to be lexical entry IDs for rank
  calculations ([#255])
* `wn.add()` no longer requires `partOfSpeech` on synsets; this was
  not a requirement of WN-LMF nor was it enforced in the database
* `wn.export()` defaults to `version="1.4"` instead of `"1.0"`


## [v0.12.0]

**Release date: 2025-04-22**

### Added

* `wn.add_lexical_resource()` to add result of `wn.lmf.load()` to
  database rather than from a file (pertinent to [#98])
* `bench/` directory with benchmark tests ([#98])
* `Synset.definitions()` ([#246])

### Fixed

* `wn.web` casts URL objects to strings for JSON serialization ([#238])
* Setting `wn.config.data_directory` to an uninitialized directory no
  longer raises a `sqlite3.OperationalError` ([#250])

### Changed

* `Wordnet` and module-level query functions now issue a warning when
  the `lang` argument matches more than one lexicon ([#241])
* `Wordnet.synsets()` now accepts `wn.ILI` objects for the `ili`
  parameter ([#235])
* DB-internal rowids are no longer used outside of SQL queries ([#226])
* The following methods now return standard `str` objects by default
  and custom classes with a `data=True` argument ([#246]):
  - `Word.lemma()`
  - `Word.forms()`
  - `Sense.examples()`
  - `Synset.examples()`
  - `Synset.definition()`
* `Sense.counts()` now returns a standard `int` object by default and
  a custom class with a `data=True` argument ([#246])
* The following classes no longer subclass standard `str` or `int`
  types and therefore no longer inherit their behavior or interface
  ([#246]):
  - `Form`
  - `Example`
  - `Definition`
  - `Count`


## [v0.11.0]

**Release date: 2024-12-11**

### Index

* Added `oewn:2024` ([#221])

### Added

* `Relation` class ([#216])
* `Sense.relation_map()` method ([#216])
* `Synset.relation_map()` method ([#167], [#216])
* `W305` blank definition on synset validation ([#151])
* `W306` blank example on synset validation ([#151])
* `W307` repeated definition on synset validation ([#151])

### Fixed

* Enumerate repeated entry, sense, synset IDs for validation ([#228])


## [v0.10.1]

**Release date: 2024-10-29**

### Fixed

* Follow redirects with `httpx.Client` in `wn._download` ([#211])
* Remove reverse relations for `pertainym` and `also` ([#213])
* Validate redundant relations considering `dc:type` ([#215])

### Maintenance

* Added `docs/.readthedocs.yaml` for building docs ([#214])


## [v0.10.0]

**Release date: 2024-10-29**

### Python Support

* Removed support for Python 3.8 ([#202])
* Added support for Python 3.13 ([#202])

### Added

* Support for WN-LMF 1.2 and 1.3 ([#200])

### Fixed

* Don't assume 'id' on form elements in WN-LMF 1.2+ ([#207])

### Maintenance

* Switched packaging from flit to Hatch ([#201])
* Updated dependencies, CI warnings, old workarounds ([#203])
* Change CI publishing to OIDC trusted publishing


## [v0.9.5]

**Release date: 2023-12-05**

### Python Support

* Removed support for Python 3.7 ([#191])
* Added support for Python 3.12 ([#191])

### Index

* Added `oewn:2023` ([#194])


## [v0.9.4]

**Release date: 2023-05-07**

### Index

* Added `oewn:2022` ([#181])


## [v0.9.3]

**Release date: 2022-11-13**

### Python Support

* Removed support for Python 3.6
* Added support for Python 3.11

### Fixed

* `wn.Synset.relations()` no longer raises a `KeyError` when no
  relation types are given and relations are found via ILI ([#177])


## [v0.9.2]

**Release date: 2022-10-02**

### Provisional Changes

* The `editor` installation extra installs the `wn-editor`
  package. This is not a normal way of using extras, as it installs a
  dependent and not a dependency, and may be removed. ([#17])

### Fixed

* `wn.download()` no longer uses Python features unavailable in 3.7
  when recovering from download errors
* `Sense.synset()` now creates a `Synset` properly linked to the same
  `Wordnet` object ([#157], [#168])
* `Sense.word()` now creates a `Word` properly linked to the same
  `Wordnet` object ([#157])
* `Synset.relations()` uses the correct relation type for those
  obtained from expand lexicons ([#169])


## [v0.9.1]

**Release date: 2021-11-23**

### Fixed

* Correctly add syntactic behaviours for WN-LMF 1.1 lexicons ([#156])


## [v0.9.0]

**Release date: 2021-11-17**

### Added

* `wn.constants.REVERSE_RELATIONS`
* `wn.validate` module ([#143])
* `validate` subcommand ([#143])
* `wn.Lexicon.describe()` ([#144])
* `wn.Wordnet.describe()` ([#144])
* `wn.ConfigurationError`
* `wn.ProjectError`

### Fixed

* WN-LMF 1.0 Syntactic Behaviours with no `senses` are now assigned to
  all senses in the lexical entry. If a WN-LMF 1.1 lexicon extension
  puts Syntactic Behaviour elements on lexical entries (which it
  shouldn't) it will only be assigned to senses and external senses
  listed.
* `wn.Form` now always hashes like `str`, so things like
  `set.__contains__` works as expected.
* `wn.download()` raises an exception on bad responses ([#147]])
* Avoid returning duplicate matches when a lemmatizer is used ([#154])

### Removed

* `wn.lmf.dump()` no longer has the `version` parameter

### Changed

* `wn.lmf.load()`
  - returns a dictionary for the resource instead of a
    list of lexicons, now including the WN-LMF version, as below:
    ```python
    {
        'lmf_version': '...',
        'lexicons': [...]
    }
    ```
  - returned lexicons are modeled with Python lists and dicts instead
    of custom classes ([#80])
* `wn.lmf.scan_lexicons()` only returns info about present lexicons,
  not element counts ([#113])
* Improper configurations (e.g., invalid data directory, malformed
  index) now raise a `wn.ConfigurationError`
* Attempting to get an unknown project or version now raises
  `wn.ProjectError` instead of `wn.Error` or `KeyError`
* Projects and versions in the index now take an `error` key. Calling
  `wn.config.get_project_info()` on such an entry will raise
  `wn.ProjectError`. Such entries may not also specify a url. The
  entry can still be viewed without triggering the error via
  `wn.config.index`. ([#146])
* Project versions in the index may specify multiple, space-separated
  URLs on the url key. If one fails, the next will be attempted when
  downloading. ([#142])
* `wn.config.get_project_info()` now returns a `resource_urls` key
  mapped to a list of URLs instead of `resource_url` mapped to a
  single URL. ([#142])
* `wn.config.get_cache_path()` now only accepts URL arguments
* The `lexicon` parameter in many functions now allows glob patterns
  like `omw-*:1.4` ([#155])

### Index

* Added `oewn:2021` new ID, previously `ewn` ([#152])
* Added `own`, `own-pt`, and `own-en` ([#97])
* Added `odenet:1.4`
* Added `omw:1.4`, including `omw-en`, formerly `pwn:3.0` ([#152])
* Added `omw-en31:1.4`, formerly `pwn:3.1` ([#152])
* Removed `omw:1.3`, `pwn:3.0`, and `pwn:3.1` ([#152])
* Added `kurdnet:1.0` ([#140])


## [v0.8.3]

**Release date: 2021-11-03**

### Fixed

* `wn.lmf` now serialized DC and non-DC metadata correctly ([#148])


## [v0.8.2]

**Release date: 2021-11-01**

This release only resolves some dependency issues with the previous
release.


## [v0.8.1]

**Release date: 2021-10-29**

Note: the release on PyPI was yanked because a dependency was not
specified properly.

### Fixed

* `wn.lmf` uses `https://` for the `dc` namespace instead of
  `http://`, following the DTD


## [v0.8.0]

**Release date: 2021-07-07**

### Added

* `wn.ic` module ([#40]
* `wn.taxonomy` module ([#125])
* `wn.similarity.res` Resnik similarity ([#122])
* `wn.similarity.jcn` Jiang-Conrath similarity ([#123])
* `wn.similarity.lin` Lin similarity ([#124])
* `wn.util.synset_id_formatter` ([#119])

### Changed

* Taxonomy methods on `wn.Synset` are moved to `wn.taxonomy`, but
  shortcut methods remain for compatibility ([#125]).
* Similarity metrics in `wn.similarity` now raise an error when
  synsets come from different parts of speech.


## [v0.7.0]

**Release date: 2021-06-09**

### Added

* Support for approximate word searches; on by default, configurable
  only by instantiating a `wn.Wordnet` object ([#105])
* `wn.morphy` ([#19])
* `wn.Wordnet.lemmatizer` attribute ([#8])
* `wn.web` ([#116])
* `wn.Sense.relations()` ([#82])
* `wn.Synset.relations()` ([#82])

### Changed

* `wn.lmf.load()` now takes a `progress_handler` parameter ([#46])
* `wn.lmf.scan_lexicons()` no longer returns sets of relation types or
  lexfiles; `wn.add()` now gets these from loaded lexicons instead
* `wn.util.ProgressHandler`
  - Now has a `refresh_interval` parameter; updates only trigger a
    refresh after the counter hits the threshold set by the interval
  - The `update()` method now takes a `force` parameter to trigger a
    refresh regardless of the refresh interval
* `wn.Wordnet`
  - Initialization now takes a `normalizer` parameter ([#105])
  - Initialization now takes a `lemmatizer` parameter ([#8])
  - Initialization now takes a `search_all_forms` parameter ([#115])
  - `Wordnet.words()`, `Wordnet.senses()` and `Wordnet.synsets()` now
    use any specified lemmatization or normalization functions to
    expand queries on word forms ([#105])

### Fixed

* `wn.Synset.ili` for proposed ILIs now works again (#117)


## [v0.6.2]

**Release date: 2021-03-22**

### Fixed

* Disable `sqlite3` progress reporting after `wn.remove()` ([#108])


## [v0.6.1]

**Release date: 2021-03-05**

### Added

* `wn.DatabaseError` as a more specific error type for schema changes
  ([#106])


## [v0.6.0]

**Release date: 2021-03-04**

**Notice:** This release introduces backwards-incompatible changes to
the schema that require users upgrading from previous versions to
rebuild their database.

### Added

* For WN-LMF 1.0 support ([#65])
  - `wn.Sense.frames()`
  - `wn.Sense.adjposition()`
  - `wn.Tag`
  - `wn.Form.tags()`
  - `wn.Count`
  - `wn.Sense.counts()`
* For ILI modeling ([#23])
  - `wn.ILI` class
  - `wn.Wordnet.ili()`
  - `wn.Wordnet.ilis()`
  - `wn.ili()`
  - `wn.ilis()`
  - `wn.project.Package.type` property
  - Index entries of different types; default is `'wordnet'`, `'ili'`
    is also available
  - Support for detecting and loading ILI tab-separated-value exports;
    not directly accessible through the public API at this time
  - Support for adding ILI resources to the database
  - A CILI index entry ([#23])
* `wn.lmf` WN-LMF 1.1 support ([#7])
  - `<Requires>`
  - `<LexiconExtension>`, `<Extends>`, `<ExternalSynset>`,
    `<ExternalLexicalEntry>`, `<ExternalSense>`,
    `<ExternalLemma>`, `<ExternalForm>`
  - `subcat` on `<Sense>`
  - `members` on `<Synset>`
  - `lexfile` on `<Synset>`
  - `<Pronunciation>`
  - `id` on `<Form>`
  - New relations
* Other WN-LMF 1.1 support
  - `wn.Lexicon.requires()`
  - `wn.Lexicon.extends()` ([#99])
  - `wn.Lexicon.extensions()` ([#99])
  - `wn.Pronunciation` ([#7])
  - `wn.Form.pronunciations()` ([#7])
  - `wn.Form.id` ([#7])
  - `wn.Synset.lexfile()`
* `wn.constants.SENSE_SYNSET_RELATIONS`
* `wn.WnWarning` (related to [#92])
* `wn.Lexicon.modified()` ([#17])

### Fixed

* Adding a wordnet with sense relations with invalid target IDs now
  raises an error instead of ignoring the relation.
* Detect LMF-vs-CILI projects even when files are uncompressed ([#104])

### Changed

* WN-LMF 1.0 entities now modeled and exported to XML ([#65]):
  - Syntactic behaviour ([#65])
  - Adjpositions ([#65])
  - Form tags
  - Sense counts
  - Definition source senses
  - ILI definitions
* WN-LMF 1.1 entities now modeled and exported to XML ([#89]):
  - Lexicon requirements and extensions ([#99])
  - Form pronunciations
  - Lexicographer files via the `lexfile` attribute
  - Form ids
* `wn.Synset.ili` now returns an `ILI` object
* `wn.remove()` now takes a `progess_handler` parameter
* `wn.util.ProgressBar` uses a simpler formatting string with two new
  computed variables
* `wn.project.is_package_directory()` and
  `wn.project.is_collection_directory()` now detect
  packages/collection with ILI resource files ([#23])
* `wn.project.iterpackages()` now includes ILI packages
* `wn.Wordnet` now sets the default `expand` value to a lexicon's
  dependencies if they are specified (related to [#92])

### Schema

* General changes:
  - Parts of speech are stored as text
  - Added indexes and `ON DELETE` actions to speed up `wn.remove()`
  - All extendable tables are now linked to their lexicon ([#91])
  - Added rowid to tables with metadata
  - Preemptively added a `modified` column to `lexicons` table ([#17])
  - Preemptively added a `normalized_form` column to `forms` ([#105])
  - Relation type tables are combined for synsets and senses ([#75])
* ILI-related changes ([#23]):
  - ILIs now have an integer rowid and a status
  - Proposed ILIs also have an integer rowid for metadata access
  - Added a table for ILI statuses
* WN-LMF 1.0 changes ([#65]):
  - SyntacticBehaviour (previously unused) no longer requires an ID and
    does not use it in the primary key
  - Added table for adjposition values
  - Added source-sense to definitions table
* WN-LMF 1.1 changes ([#7], [#89]):
  - Added a table for lexicon dependencies
  - Added a table for lexicon extensions ([#99])
  - Added `logo` column to `lexicons` table
  - Added a `synset_rank` column to `senses` table
  - Added a `pronunciations` table
  - Added column for lexicographer files to the `synsets` table
  - Added a table for lexicographer file names
  - Added an `id` column to `forms` table


## [v0.5.1]

**Release date: 2021-01-29**

### Fixed

* `wn.lmf` specifies `utf-8` when opening files ([#95])
* `wn.lmf.dump()` casts attribute values to strings


## [v0.5.0]

**Release date: 2021-01-28**

### Added

* `wn.Lexicon.specifier()`
* `wn.config.allow_multithreading` ([#86])
* `wn.util` module for public-API utilities
* `wn.util.ProgressHandler` ([#87])
* `wn.util.ProgressBar` ([#87])

### Removed

* `wn.Wordnet.lang`

### Changed

* `wn.Synset.get_related()` does same-lexicon traversals first, then
  ILI expansions ([#90])
* `wn.Synset.get_related()` only targets the source synset lexicon in
  default mode ([#90], [#92])
* `wn.Wordnet` has a "default mode", when no lexicon or language is
  selected, which searches any lexicon but relation traversals only
  target the lexicon of the source synset ([#92]) is used for the
  lexicon id ([#92])
* `wn.Wordnet` has an empty expand set when a lexicon or language is
  specified and no expand set is specified ([#92])
* `wn.Wordnet` now allows versions in lexicon specifiers when the id
  is `*` (e.g., `*:1.3+omw`)
* `wn.Wordnet` class signature has `lexicon` first, `lang` is
  keyword-only ([#93])
* `lang` and `lexicon` parameters are keyword-only on `wn.lexicons()`,
  `wn.word()`, `wn.words()`, `wn.sense()`, `wn.senses()`,
  `wn.synset()`, `wn.synsets()`, and the `translate()` methods of
  `wn.Word`, `wn.Sense`, and `wn.Synset` ([#93])


## [v0.4.1]

**Release date: 2021-01-19**

### Removed

* `wn.config.database_filename` (only `wn.config.data_directory` is
  configurable now)

### Changed

* Schema validation is now done when creating a new connection,
  instead of on import of `wn`
* One connection is shared per database path, rather than storing
  connections on the modeling classes ([#81])

### Fixed

* More robustly check for LMF validity ([#83])


## [v0.4.0]

**Release date: 2020-12-29**

### Added

* `wn.export()` to export lexicon(s) from the database ([#15])
* `wn.lmf.dump()` to dump WN-LMF lexicons to disk ([#15])
* `metadata` method on `wn.Word`, `wn.Sense`, and `wn.Synset`
* `lexicalized` method on `wn.Sense` and `wn.Synset`
* `wn.Form` class ([#79])
* `--verbose` / `-v` option for the command-line interface ([#71])

### Changed

* `wn.Lexicon.metadata` is now a method
* `wn.Word.lemma()` returns a `wn.Form` object ([#79])
* `wn.Word.forms()` returns a list of `wn.Form` objects ([#79])
* `wn.project.iterpackages()` raises `wn.Error` on decompression
  problems ([#77])
* `wn.lmf.LMFError` now inherits from `wn.Error`
* `wn.lmf.scan_lexicons()` raises `LMFError` on XML parsing errors
  ([#77])
* `wn.download()` reraises caught `wn.Error` with more informative
  message ([#77])
* `wn.add()` improve error message when lexicons are already added
  ([#77])
* Basic logging added for `wn.download()` and `wn.add()` ([#71])
* `Synset.get_related()` and `Sense.get_related()` may take a `'*'`
  parameter to get all relations
* `wn.Wordnet` objects keep an open connection to the database ([#81])

### Fixed

* `wn.projects.iterpackages()` tries harder to prevent potential race
  conditions when reading temporary files ([#76])
* `wn.Lexicon.metadata` now returns a dictionary ([#78])


## [v0.3.0]

**Release date: 2020-12-16**

### Added

* `add` parameter to `wn.download()` ([#73])
* `--no-add` option to `wn download` command ([#73])
* `progress_handler` parameter to `wn.download()` ([#70])
* `progress_handler` parameter to `wn.add()` ([#70])

### Fixed

* `Synset.shortest_path()` no longer includes starting node ([#63])
* `Synset.closure()`/`Sense.closure()` may take multiple relations
  ([#74])
* `Synset.hypernym_paths(simulate_root=True)` returns just the fake
  root node if no paths were found (related to [#64])
* `wn.lexicons()` returns empty list on unknown lang/lexicon ([#59])

### Changed

* Renamed `lgcode` parameter to `lang` throughout ([#66])
* Renamed `Wordnet.lgcode` property to `Wordnet.lang` ([#66])
* Renamed `--lgcode` command-line option to `--lang` ([#66])
* Use better-performing/less-safe database options when adding
  lexicons ([#69])


## [v0.2.0]

**Release date: 2020-12-02**

### Added

* `wn.config.get_cache_path()` returns the path of a cached resource
* `wn.projects()` returns the info about known projects ([#60])
* `projects` subcommand to command-line interface ([#60])
* Open German WordNet 1.3 to the index

### Changed

* On import, Wn now raises an error if the database has an outdated
  schema ([#61])
* `wn.config.get_project_info()` now includes a `cache` key
* Output of `lexicons` CLI subcommand now tab-delimited


## [v0.1.1]

**Release date: 2020-11-26**

### Added

* Command-line interface for downloading and listing lexicons ([#47])

### Fixed

* Cast `pathlib.Path` to `str` for `sqlite3.connect()` ([#58])
* Pass `lgcode` to `Wordnet` object in `wn.synset()`


## [v0.1.0]

**Release date: 2020-11-25**

This is the initial release of the new Wn library. On PyPI it replaces
the https://github.com/nltk/wordnet/ code which had been effectively
abandoned, but this is an entirely new codebase.


[v0.14.0]: ../../releases/tag/v0.14.0
[v0.13.0]: ../../releases/tag/v0.13.0
[v0.12.0]: ../../releases/tag/v0.12.0
[v0.11.0]: ../../releases/tag/v0.11.0
[v0.10.1]: ../../releases/tag/v0.10.1
[v0.10.0]: ../../releases/tag/v0.10.0
[v0.9.5]: ../../releases/tag/v0.9.5
[v0.9.4]: ../../releases/tag/v0.9.4
[v0.9.3]: ../../releases/tag/v0.9.3
[v0.9.2]: ../../releases/tag/v0.9.2
[v0.9.1]: ../../releases/tag/v0.9.1
[v0.9.0]: ../../releases/tag/v0.9.0
[v0.8.3]: ../../releases/tag/v0.8.3
[v0.8.2]: ../../releases/tag/v0.8.2
[v0.8.1]: ../../releases/tag/v0.8.1
[v0.8.0]: ../../releases/tag/v0.8.0
[v0.7.0]: ../../releases/tag/v0.7.0
[v0.6.2]: ../../releases/tag/v0.6.2
[v0.6.1]: ../../releases/tag/v0.6.1
[v0.6.0]: ../../releases/tag/v0.6.0
[v0.5.1]: ../../releases/tag/v0.5.1
[v0.5.0]: ../../releases/tag/v0.5.0
[v0.4.1]: ../../releases/tag/v0.4.1
[v0.4.0]: ../../releases/tag/v0.4.0
[v0.3.0]: ../../releases/tag/v0.3.0
[v0.2.0]: ../../releases/tag/v0.2.0
[v0.1.1]: ../../releases/tag/v0.1.1
[v0.1.0]: ../../releases/tag/v0.1.0
[unreleased]: ../../tree/main

[#7]: https://github.com/goodmami/wn/issues/7
[#8]: https://github.com/goodmami/wn/issues/8
[#15]: https://github.com/goodmami/wn/issues/15
[#17]: https://github.com/goodmami/wn/issues/17
[#19]: https://github.com/goodmami/wn/issues/19
[#23]: https://github.com/goodmami/wn/issues/23
[#40]: https://github.com/goodmami/wn/issues/40
[#46]: https://github.com/goodmami/wn/issues/46
[#47]: https://github.com/goodmami/wn/issues/47
[#53]: https://github.com/goodmami/wn/issues/53
[#55]: https://github.com/goodmami/wn/issues/55
[#58]: https://github.com/goodmami/wn/issues/58
[#59]: https://github.com/goodmami/wn/issues/59
[#60]: https://github.com/goodmami/wn/issues/60
[#61]: https://github.com/goodmami/wn/issues/61
[#63]: https://github.com/goodmami/wn/issues/63
[#64]: https://github.com/goodmami/wn/issues/64
[#65]: https://github.com/goodmami/wn/issues/65
[#66]: https://github.com/goodmami/wn/issues/66
[#69]: https://github.com/goodmami/wn/issues/69
[#70]: https://github.com/goodmami/wn/issues/70
[#71]: https://github.com/goodmami/wn/issues/71
[#73]: https://github.com/goodmami/wn/issues/73
[#74]: https://github.com/goodmami/wn/issues/74
[#75]: https://github.com/goodmami/wn/issues/75
[#76]: https://github.com/goodmami/wn/issues/76
[#77]: https://github.com/goodmami/wn/issues/77
[#78]: https://github.com/goodmami/wn/issues/78
[#79]: https://github.com/goodmami/wn/issues/79
[#80]: https://github.com/goodmami/wn/issues/80
[#81]: https://github.com/goodmami/wn/issues/81
[#82]: https://github.com/goodmami/wn/issues/82
[#83]: https://github.com/goodmami/wn/issues/83
[#86]: https://github.com/goodmami/wn/issues/86
[#87]: https://github.com/goodmami/wn/issues/87
[#89]: https://github.com/goodmami/wn/issues/89
[#90]: https://github.com/goodmami/wn/issues/90
[#91]: https://github.com/goodmami/wn/issues/91
[#92]: https://github.com/goodmami/wn/issues/92
[#93]: https://github.com/goodmami/wn/issues/93
[#95]: https://github.com/goodmami/wn/issues/95
[#97]: https://github.com/goodmami/wn/issues/97
[#98]: https://github.com/goodmami/wn/issues/98
[#99]: https://github.com/goodmami/wn/issues/99
[#103]: https://github.com/goodmami/wn/issues/103
[#104]: https://github.com/goodmami/wn/issues/104
[#105]: https://github.com/goodmami/wn/issues/105
[#106]: https://github.com/goodmami/wn/issues/106
[#108]: https://github.com/goodmami/wn/issues/108
[#113]: https://github.com/goodmami/wn/issues/113
[#115]: https://github.com/goodmami/wn/issues/115
[#116]: https://github.com/goodmami/wn/issues/116
[#117]: https://github.com/goodmami/wn/issues/117
[#119]: https://github.com/goodmami/wn/issues/119
[#122]: https://github.com/goodmami/wn/issues/122
[#123]: https://github.com/goodmami/wn/issues/123
[#124]: https://github.com/goodmami/wn/issues/124
[#125]: https://github.com/goodmami/wn/issues/125
[#140]: https://github.com/goodmami/wn/issues/140
[#142]: https://github.com/goodmami/wn/issues/142
[#143]: https://github.com/goodmami/wn/issues/143
[#144]: https://github.com/goodmami/wn/issues/144
[#146]: https://github.com/goodmami/wn/issues/146
[#147]: https://github.com/goodmami/wn/issues/147
[#148]: https://github.com/goodmami/wn/issues/148
[#151]: https://github.com/goodmami/wn/issues/151
[#152]: https://github.com/goodmami/wn/issues/152
[#154]: https://github.com/goodmami/wn/issues/154
[#155]: https://github.com/goodmami/wn/issues/155
[#156]: https://github.com/goodmami/wn/issues/156
[#157]: https://github.com/goodmami/wn/issues/157
[#167]: https://github.com/goodmami/wn/issues/167
[#168]: https://github.com/goodmami/wn/issues/168
[#169]: https://github.com/goodmami/wn/issues/169
[#177]: https://github.com/goodmami/wn/issues/177
[#181]: https://github.com/goodmami/wn/issues/181
[#191]: https://github.com/goodmami/wn/issues/191
[#194]: https://github.com/goodmami/wn/issues/194
[#200]: https://github.com/goodmami/wn/issues/200
[#201]: https://github.com/goodmami/wn/issues/201
[#202]: https://github.com/goodmami/wn/issues/202
[#203]: https://github.com/goodmami/wn/issues/203
[#207]: https://github.com/goodmami/wn/issues/207
[#211]: https://github.com/goodmami/wn/issues/211
[#213]: https://github.com/goodmami/wn/issues/213
[#214]: https://github.com/goodmami/wn/issues/214
[#215]: https://github.com/goodmami/wn/issues/215
[#216]: https://github.com/goodmami/wn/issues/216
[#221]: https://github.com/goodmami/wn/issues/221
[#226]: https://github.com/goodmami/wn/issues/226
[#228]: https://github.com/goodmami/wn/issues/228
[#233]: https://github.com/goodmami/wn/issues/233
[#234]: https://github.com/goodmami/wn/issues/234
[#235]: https://github.com/goodmami/wn/issues/235
[#238]: https://github.com/goodmami/wn/issues/238
[#241]: https://github.com/goodmami/wn/issues/241
[#246]: https://github.com/goodmami/wn/issues/246
[#248]: https://github.com/goodmami/wn/issues/248
[#250]: https://github.com/goodmami/wn/issues/250
[#255]: https://github.com/goodmami/wn/issues/255
[#260]: https://github.com/goodmami/wn/issues/260
[#263]: https://github.com/goodmami/wn/issues/263
[#266]: https://github.com/goodmami/wn/issues/266
[#268]: https://github.com/goodmami/wn/pull/268
[#271]: https://github.com/goodmami/wn/issues/271
[#277]: https://github.com/goodmami/wn/issues/277
[#285]: https://github.com/goodmami/wn/issues/285
[#286]: https://github.com/goodmami/wn/issues/286
[#291]: https://github.com/goodmami/wn/issues/291
[#292]: https://github.com/goodmami/wn/issues/292
[#294]: https://github.com/goodmami/wn/issues/294
[#295]: https://github.com/goodmami/wn/issues/295
[#300]: https://github.com/goodmami/wn/issues/300
[#301]: https://github.com/goodmami/wn/issues/301
[#302]: https://github.com/goodmami/wn/issues/302
[#303]: https://github.com/goodmami/wn/issues/303