Skip to content

Commit d6d513d

Browse files
authored
Renamed omw to omw-1.4 (#2907)
* Renamed omw to omw-1.4 Co-authored-by: Tom Aarsen <>
1 parent 2a50a3e commit d6d513d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nltk/corpus/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,17 +359,17 @@
359359
wordnet = LazyCorpusLoader(
360360
"wordnet",
361361
WordNetCorpusReader,
362-
LazyCorpusLoader("omw", CorpusReader, r".*/wn-data-.*\.tab", encoding="utf8"),
362+
LazyCorpusLoader("omw-1.4", CorpusReader, r".*/wn-data-.*\.tab", encoding="utf8"),
363363
)
364364
wordnet31 = LazyCorpusLoader(
365365
"wordnet31",
366366
WordNetCorpusReader,
367-
LazyCorpusLoader("omw", CorpusReader, r".*/wn-data-.*\.tab", encoding="utf8"),
367+
LazyCorpusLoader("omw-1.4", CorpusReader, r".*/wn-data-.*\.tab", encoding="utf8"),
368368
)
369369
wordnet2021 = LazyCorpusLoader(
370370
"wordnet2021",
371371
WordNetCorpusReader,
372-
LazyCorpusLoader("omw", CorpusReader, r".*/wn-data-.*\.tab", encoding="utf8"),
372+
LazyCorpusLoader("omw-1.4", CorpusReader, r".*/wn-data-.*\.tab", encoding="utf8"),
373373
)
374374
wordnet_ic = LazyCorpusLoader("wordnet_ic", WordNetICCorpusReader, r".*\.dat")
375375
words = LazyCorpusLoader(

0 commit comments

Comments
 (0)