Skip to content

convergence-lab/WER-CER

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WER-CER

  1. wer.py 行毎に単語を比較するので句点(。)は調整して、読点(、)は不要なので削除して下さい。 original_file.txt は正解とする文書、target_file.txt は STT で書き起こした文書です。
pip install numpy
brew install mecab
pip install mecab-python3

python wer.py [original_file.txt]  [target_file.txt]
  1. cer.py 行毎に単語を比較するので句点(。)は調整して、読点(、)は不要なので削除して下さい。 original_file.txt は正解とする文書、target_file.txt は STT で書き起こした文書です。
python cer.py [original_file.txt]  [target_file.txt]

About

Calculator Tool of Word Error Rate and Character Error Rate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%