danieldeutsch / sacrerouge

SacreROUGE is a library dedicated to the use and development of text generation evaluation metrics with an emphasis on summarization.
Apache License 2.0
134 stars 11 forks source link

Metric commands don't function well when the metric is not installed #47

Open danieldeutsch opened 4 years ago

danieldeutsch commented 4 years ago

If a metric is not installed (e.g., a metric like MoverScore might not have the necessary pip packages installed, and therefore will not work), the metric-specific command gives a really unhelpful error about missing arguments. It should instead crash with a message saying the metric is not installed.