From 46f6364dcd4fdff9583c53dc00caf50399e9db37 Mon Sep 17 00:00:00 2001 From: Nik Vaessen Date: Sun, 2 Feb 2025 21:15:49 -0500 Subject: [PATCH] small issue with publishing docs --- justfile | 2 +- src/jiwer/alignment.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index 6058816..eaa7001 100644 --- a/justfile +++ b/justfile @@ -16,4 +16,4 @@ publish-docs: git remote set-url deploy-docs git@github.com:jitsi/jiwer.git # push to deploy-docs remote and gh-pages branch - uv run --group docs mkdocs gh-publish -r deploy-docs -b gh-pages + uv run --group docs mkdocs gh-deploy -r deploy-docs -b gh-pages diff --git a/src/jiwer/alignment.py b/src/jiwer/alignment.py index 24e7397..6d63cb3 100644 --- a/src/jiwer/alignment.py +++ b/src/jiwer/alignment.py @@ -236,7 +236,7 @@ def collect_error_counts(output: Union[WordOutput, CharacterOutput]): output: The processed output of reference and hypothesis pair(s). Returns: - A three-tuple of dictionaries, in the order substitutions, insertions, deletions. + (Tuple[dict, dict, dict]): A three-tuple of dictionaries, in the order substitutions, insertions, deletions. """ substitutions = defaultdict(lambda: 0) insertions = defaultdict(lambda: 0)