class_docstr: Test class for `ExtendedEditDistance` metric.
class_docstr_tok: ["Test","class","for","`","ExtendedEditDistance","`","metric","."]
docstr: Test functional implementation of metric.
docstr_tok: ["Test","functional","implementation","of","metric","."]
code: def test_eed_functional(self, preds, targets):
      """Test functional implementation of metric."""
      rwth_metric = partial(_rwth_manual_metric)
      self.run_functional_metric_test(
          preds,
          targets,
          metric_functional=extended_edit_distance,
          reference_metric=rwth_metric,
      )
  
file_path: torchmetrics/tests/unittests/text/test_eed.py
imports: from functools import partial
  import pytest
  from torch import Tensor, tensor
  from torchmetrics.functional.text.eed import extended_edit_distance
  from torchmetrics.text.eed import ExtendedEditDistance
  from unittests.text.helpers import TextTester
  from unittests.text.inputs import _inputs_single_reference, _inputs_single_sentence_multiple_references
label_desc: Use image node_id 2 for calling the TestExtendedEditDistance obj's underlying member method code with example usage: obj.test_eed_functional(preds, targets) without return types