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)