From d6d513d3a5c96ed01727a65a088da1924a0c54e6 Mon Sep 17 00:00:00 2001 From: Eric Kafe Date: Fri, 10 Dec 2021 14:22:07 +0100 Subject: [PATCH] Renamed omw to omw-1.4 (#2907) * Renamed omw to omw-1.4 Co-authored-by: Tom Aarsen <> --- nltk/corpus/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nltk/corpus/__init__.py b/nltk/corpus/__init__.py index 14b1ea23ef..cb40b4e2c0 100644 --- a/nltk/corpus/__init__.py +++ b/nltk/corpus/__init__.py @@ -359,17 +359,17 @@ wordnet = LazyCorpusLoader( "wordnet", WordNetCorpusReader, - LazyCorpusLoader("omw", CorpusReader, r".*/wn-data-.*\.tab", encoding="utf8"), + LazyCorpusLoader("omw-1.4", CorpusReader, r".*/wn-data-.*\.tab", encoding="utf8"), ) wordnet31 = LazyCorpusLoader( "wordnet31", WordNetCorpusReader, - LazyCorpusLoader("omw", CorpusReader, r".*/wn-data-.*\.tab", encoding="utf8"), + LazyCorpusLoader("omw-1.4", CorpusReader, r".*/wn-data-.*\.tab", encoding="utf8"), ) wordnet2021 = LazyCorpusLoader( "wordnet2021", WordNetCorpusReader, - LazyCorpusLoader("omw", CorpusReader, r".*/wn-data-.*\.tab", encoding="utf8"), + LazyCorpusLoader("omw-1.4", CorpusReader, r".*/wn-data-.*\.tab", encoding="utf8"), ) wordnet_ic = LazyCorpusLoader("wordnet_ic", WordNetICCorpusReader, r".*\.dat") words = LazyCorpusLoader(