Word Error Rate

The function calculates WER between word sequences H (hypothesis) and R (reference).
ダウンロード: 464
更新 2016/3/7

ライセンスの表示

Word error rate (WER) is a measure (metric) of the performance of an automatic speech recognition, machine translation etc.
The function is intended for calculation of WER between word sequence H (hypothesis) and word sequence R (reference).
For calculation we use Levenshtein distance on word level. Levenshtein distance is a minimal quantity of insertions, deletions and substitutions of words for conversion of a hypothesis to a reference. WER=D(H,R)/N, where D(H,R) is a Levenshtein distance between H and R and N is the number of words in the reference R. H and R are cell arrays of words (for example after using TEXTSCAN) or cells with word sequences or strings. Types H and R may be different.

引用

Eduard Polityko (2024). Word Error Rate (https://www.mathworks.com/matlabcentral/fileexchange/55825-word-error-rate), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2015a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
タグ タグを追加

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0