Skip to content

Commit 4b34ef1

Browse files
authored
Replaced links on Blue, Rouge etc papers (#3431)
1 parent 816486d commit 4b34ef1

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

ignite/metrics/nlp/bleu.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ class Bleu(Metric):
7272
7373
More details can be found in `Papineni et al. 2002`__.
7474
75-
__ https://www.aclweb.org/anthology/P02-1040
75+
__ https://aclanthology.org/P02-1040/
7676
7777
In addition, a review of smoothing techniques can be found in `Chen et al. 2014`__
7878
79-
__ https://aclanthology.org/W14-3346.pdf
79+
__ https://aclanthology.org/W14-3346/
8080
8181
- ``update`` must receive output of the form ``(y_pred, y)`` or ``{'y_pred': y_pred, 'y': y}``.
8282
- `y_pred` (list(list(str))) - a list of hypotheses sentences.

ignite/metrics/nlp/rouge.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class RougeN(_BaseRouge):
191191
192192
More details can be found in `Lin 2004`__.
193193
194-
__ https://www.aclweb.org/anthology/W04-1013.pdf
194+
__ https://aclanthology.org/W04-1013
195195
196196
- ``update`` must receive output of the form ``(y_pred, y)`` or ``{'y_pred': y_pred, 'y': y}``.
197197
- `y_pred` (list(list(str))) must be a sequence of tokens.
@@ -265,7 +265,7 @@ class RougeL(_BaseRouge):
265265
266266
More details can be found in `Lin 2004`__.
267267
268-
__ https://www.aclweb.org/anthology/W04-1013.pdf
268+
__ https://aclanthology.org/W04-1013
269269
270270
- ``update`` must receive output of the form ``(y_pred, y)`` or ``{'y_pred': y_pred, 'y': y}``.
271271
- `y_pred` (list(list(str))) must be a sequence of tokens.
@@ -331,7 +331,7 @@ class Rouge(Metric):
331331
332332
More details can be found in `Lin 2004`__.
333333
334-
__ https://www.aclweb.org/anthology/W04-1013.pdf
334+
__ https://aclanthology.org/W04-1013
335335
336336
- ``update`` must receive output of the form ``(y_pred, y)`` or ``{'y_pred': y_pred, 'y': y}``.
337337
- `y_pred` (list(list(str))) must be a sequence of tokens.

ignite/metrics/nlp/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def modified_precision(references: Sequence[Sequence[Any]], candidate: Any, n: i
6363
6464
More details can be found in `Papineni et al. 2002`__.
6565
66-
__ https://www.aclweb.org/anthology/P02-1040.pdf
66+
__ https://aclanthology.org/P02-1040
6767
6868
Args:
6969
references: list of references R

0 commit comments

Comments
 (0)