[Bug]: ASR WER normalization splits words at combining marks

オープン
#23,256 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@JunkaiWang-TheoPhy がすでに取り組んでいます。

2026年12月2日 から。

  • #23257 @JunkaiWang-TheoPhy による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
python
領域
data

調査の方向性

The issue names tensorrt_llm.evaluate.audio_asr._compute_wer and includes a reproduction that needs no model or GPU. Start by reading the ASR normalizer used there and run the supplied example. Done means combining marks are removed without splitting words, punctuation still separates words, and the normalized words produce WER 0%; linked pull request #23257 is already open.

索引モデルが issue の本文から書いたものです。

説明

System Info

TensorRT-LLM main at f06c84da4cad0814ab0bfa0b154187a325cb9f5d. Reproduced on Python 3.12/macOS ARM64 with the production ASR scoring code and unrelated TensorRT initialization bypassed. It needs no model, audio data, or GPU.

Reproduction
from tensorrt_llm.evaluate.audio_asr import _compute_wer

wer, (result,) = _compute_wer(["naïve"], ["naive"])
print(result.normalized_prediction, result.normalized_reference)
print(result.edits, result.reference_words, wer)
Expected behavior

The ASR normalizer removes combining marks. The words should both normalize to naive, with no edit and WER 0%. Existing punctuation separators should continue separating words.

Actual behavior

The prediction becomes nai ve; the reference remains naive. The scorer reports two edits against one reference word, or 200% WER. The same word-boundary issue changes reference word counts when the reference has the accent.

Additional notes

NFKD decomposes the accent into a combining mark. Replacing that mark with a space splits a word; it needs to be deleted. GitHub searches for the normalizer and ASR combining marks did not find an equivalent fix. OpenAI Codex assisted with reproduction.

主要言語
Python
スター
15.2k
フォーク
3k
平均マージ
2日 21時間
マージ済み PR(30日)
477

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NVIDIA/TensorRT-LLM のほかの issue

NVIDIA/TensorRT-LLM の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。