The import line in the docs for RougeN docstring here from ignite.metrics.rouge import RougeN doesnt work.
It should be replaced with either
from ignite.metrics import RougeNfrom ignite.metrics.nlp.rouge import RougeNfrom ignite.metrics.nlp import RougeN (Which is how its done for Bleu so we should follow the same here)
Also the argument is mentioned ngrams it should be ngram
🐛 Bug description
The import line in the docs for RougeN docstring here
from ignite.metrics.rouge import RougeN
doesnt work.It should be replaced with either
from ignite.metrics import RougeN
from ignite.metrics.nlp.rouge import RougeN
from ignite.metrics.nlp import RougeN
(Which is how its done for Bleu so we should follow the same here)Also the argument is mentioned
ngrams
it should bengram
Same for RougeL here
Environment
conda
,pip
, source): pip