Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/nltk/nltk into feature/b…
Browse files Browse the repository at this point in the history
…uild_index_warnings
  • Loading branch information
tomaarsen committed Dec 10, 2021
2 parents bbf456c + c075dab commit df918ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Expand Up @@ -37,6 +37,7 @@ jobs:
uses: actions/checkout@v2

- name: Cache nltk data
if: ${{ !contains(github.event.head_commit.message, '/nocache') }}
uses: actions/cache@v2
id: restore-cache
with:
Expand All @@ -59,6 +60,7 @@ jobs:
uses: actions/checkout@v2

- name: Cache third party tools
if: ${{ !contains(github.event.head_commit.message, '/nocache') }}
uses: actions/cache@v2
id: restore-cache
with:
Expand Down Expand Up @@ -96,6 +98,7 @@ jobs:
if: runner.os == 'Linux'

- name: Cache dependencies
if: ${{ !contains(github.event.head_commit.message, '/nocache') }}
uses: actions/cache@v2
id: restore-cache
with:
Expand Down
6 changes: 3 additions & 3 deletions nltk/corpus/__init__.py
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 df918ee

Please sign in to comment.