Skip to content

Commit

Permalink
Fix import in word_length
Browse files Browse the repository at this point in the history
  • Loading branch information
albertvillanova committed Sep 12, 2024
1 parent 46975f6 commit 384920c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions measurements/word_length/word_length.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
import evaluate


if evaluate.config.PY_VERSION < version.parse("3.8"):
import importlib_metadata
else:
import importlib.metadata as importlib_metadata


NLTK_VERSION = version.parse(importlib_metadata.version("nltk"))

_DESCRIPTION = """
Expand Down

0 comments on commit 384920c

Please sign in to comment.