lvwerra HF staff commited on
Commit
8ca9b07
1 Parent(s): 02192eb

Update Space (evaluate main: ce94aee2)

Browse files
Files changed (2) hide show
  1. README.md +2 -2
  2. requirements.txt +1 -1
README.md CHANGED
@@ -55,7 +55,7 @@ Example for a single string
55
  >>> wordlength = evaluate.load("word_length", module_type="measurement")
56
  >>> results = wordlength.compute(data=data)
57
  >>> print(results)
58
- {'average_length': 5}
59
  ```
60
 
61
  Example for a multiple strings
@@ -63,7 +63,7 @@ Example for a multiple strings
63
  >>> data = ["hello sun and goodbye moon", "foo bar foo bar"]
64
  >>> wordlength = evaluate.load("word_length", module_type="measurement")
65
  >>> results = wordlength.compute(data=text)
66
- {'average_length': 4.5}
67
  ```
68
 
69
  ## Citation(s)
 
55
  >>> wordlength = evaluate.load("word_length", module_type="measurement")
56
  >>> results = wordlength.compute(data=data)
57
  >>> print(results)
58
+ {'average_word_length': 5}
59
  ```
60
 
61
  Example for a multiple strings
 
63
  >>> data = ["hello sun and goodbye moon", "foo bar foo bar"]
64
  >>> wordlength = evaluate.load("word_length", module_type="measurement")
65
  >>> results = wordlength.compute(data=text)
66
+ {'average_word_length': 4.5}
67
  ```
68
 
69
  ## Citation(s)
requirements.txt CHANGED
@@ -1,2 +1,2 @@
1
- git+https://github.com/huggingface/evaluate.git@651cebab0e47c07602d31af33c3a5d9eaf887e58
2
  nltk~=3.7
 
1
+ git+https://github.com/huggingface/evaluate.git@ce94aee21a54915d2f045b5a779d0927e3d1eacd
2
  nltk~=3.7