Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -93,10 +93,10 @@ Example where each prediction has 1 reference:
93
  {'bleu': 1.0, 'precisions': [1.0, 1.0, 1.0, 1.0], 'brevity_penalty': 1.0, 'length_ratio': 1.0, 'translation_length': 7, 'reference_length': 7}
94
  ```
95
 
96
- Example where the second prediction has 2 references:
97
  ```python
98
  >>> predictions = [
99
- ... ["hello there general kenobi",
100
  ... ["foo bar foobar"]
101
  ... ]
102
  >>> references = [
@@ -114,7 +114,7 @@ Example with the word tokenizer from NLTK:
114
  >>> bleu = evaluate.load("bleu")
115
  >>> from nltk.tokenize import word_tokenize
116
  >>> predictions = [
117
- ... ["hello there general kenobi",
118
  ... ["foo bar foobar"]
119
  ... ]
120
  >>> references = [
 
93
  {'bleu': 1.0, 'precisions': [1.0, 1.0, 1.0, 1.0], 'brevity_penalty': 1.0, 'length_ratio': 1.0, 'translation_length': 7, 'reference_length': 7}
94
  ```
95
 
96
+ Example where the first prediction has 2 references:
97
  ```python
98
  >>> predictions = [
99
+ ... ["hello there general kenobi"],
100
  ... ["foo bar foobar"]
101
  ... ]
102
  >>> references = [
 
114
  >>> bleu = evaluate.load("bleu")
115
  >>> from nltk.tokenize import word_tokenize
116
  >>> predictions = [
117
+ ... ["hello there general kenobi"],
118
  ... ["foo bar foobar"]
119
  ... ]
120
  >>> references = [