aac_metrics.classes.meteor module¶
- class METEOR(
- return_all_scores: bool = True,
- *,
- cache_path: str | Path | None = None,
- java_path: str | Path | None = None,
- java_max_memory: str = '2G',
- language: Literal['en', 'cz', 'de', 'es', 'fr'] = 'en',
- use_shell: bool | None = None,
- params: Iterable[float] | None = None,
- weights: Iterable[float] | None = None,
- verbose: int = 0,
Bases:
AACMetric[tuple[METEORScores,METEORScores] |Tensor]Metric for Evaluation of Translation with Explicit ORdering metric class.
Documentation: https://www.cs.cmu.edu/~alavie/METEOR/README.html
For more information, see
meteor().- compute() tuple[METEORScores, METEORScores] | Tensor[source]¶