Skip to content

Commit

Permalink
Renamed omw to omw-1.4 (#2907)
Browse files Browse the repository at this point in the history
* Renamed omw to omw-1.4

Co-authored-by: Tom Aarsen <>
  • Loading branch information
ekaf authored Dec 10, 2021
1 parent 2a50a3e commit d6d513d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nltk/corpus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d6d513d

Please sign in to comment.