Spaces:
Sleeping
Sleeping
Update Space (evaluate main: a45df1eb)
Browse files- word_length.py +3 -3
word_length.py
CHANGED
@@ -50,12 +50,12 @@ year={2020}
|
|
50 |
"""
|
51 |
|
52 |
@evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
|
53 |
-
class WordLength(evaluate.
|
54 |
"""This measurement returns the average number of words in the input string(s)."""
|
55 |
|
56 |
def _info(self):
|
57 |
-
# TODO: Specifies the evaluate.
|
58 |
-
return evaluate.
|
59 |
# This is the description that will appear on the modules page.
|
60 |
module_type="measurement",
|
61 |
description=_DESCRIPTION,
|
|
|
50 |
"""
|
51 |
|
52 |
@evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
|
53 |
+
class WordLength(evaluate.Measurement):
|
54 |
"""This measurement returns the average number of words in the input string(s)."""
|
55 |
|
56 |
def _info(self):
|
57 |
+
# TODO: Specifies the evaluate.MeasurementInfo object
|
58 |
+
return evaluate.MeasurementInfo(
|
59 |
# This is the description that will appear on the modules page.
|
60 |
module_type="measurement",
|
61 |
description=_DESCRIPTION,
|