Skip to content

Commit 28cb78b

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into develop
2 parents 5c0c7a7 + 929e5d7 commit 28cb78b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

nltk/corpus/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,12 @@
405405
WordNetCorpusReader,
406406
LazyCorpusLoader("omw-1.4", CorpusReader, r".*/wn-data-.*\.tab", encoding="utf8"),
407407
)
408+
# Latest Open English Wordnet:
409+
wordnet2022: WordNetCorpusReader = LazyCorpusLoader(
410+
"wordnet2022",
411+
WordNetCorpusReader,
412+
LazyCorpusLoader("omw-1.4", CorpusReader, r".*/wn-data-.*\.tab", encoding="utf8"),
413+
)
408414
wordnet_ic: WordNetICCorpusReader = LazyCorpusLoader(
409415
"wordnet_ic", WordNetICCorpusReader, r".*\.dat"
410416
)

0 commit comments

Comments
 (0)