PaddleSpeech icon indicating copy to clipboard operation
PaddleSpeech copied to clipboard

Add g2pW to Chinese frontend

Open BarryKCL opened this issue 2 years ago • 4 comments

PR types

Performance optimization

PR changes

APIs

Describe

add g2pW onnxruntime

BarryKCL avatar Aug 07 '22 04:08 BarryKCL

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Aug 07 '22 04:08 CLAassistant

@BarryKCL Thanks for your effort! And please reference GitYCC/g2pW in https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/reference.md Thank you!

GitYCC avatar Aug 10 '22 03:08 GitYCC

original wer of g2p: The avg WER of g2p is: 0.026014352515701198

     ,--------------------------------------------------------------------.
     |        | # Snt    # Wrd  | Corr    Sub    Del    Ins    Err  S.Err |
     |--------+-----------------+-----------------------------------------|
     | Sum/Avg|  9996   299181  | 97.3    2.7    0.0    0.0    2.7   52.2 |
     `--------------------------------------------------------------------'

wer after add g2pw: The avg WER of g2p is: 0.028952373312476395

     ,--------------------------------------------------------------------.
     |                         ./exp/g2p/text.g2p                         |
     |--------------------------------------------------------------------|
     | SPKR   | # Snt    # Wrd  | Corr    Sub    Del    Ins    Err  S.Err |
     |--------+-----------------+-----------------------------------------|
     | Sum/Avg|  9996   299181  | 97.2    2.8    0.0    0.1    2.9   53.3 |
     `--------------------------------------------------------------------'

yt605155624 avatar Aug 11 '22 06:08 yt605155624

need to solve this issue: https://github.com/GitYCC/g2pW/issues/9

yt605155624 avatar Aug 11 '22 07:08 yt605155624

original wer of g2p: The avg WER of g2p is: 0.026014352515701198

     ,--------------------------------------------------------------------.
     |        | # Snt    # Wrd  | Corr    Sub    Del    Ins    Err  S.Err |
     |--------+-----------------+-----------------------------------------|
     | Sum/Avg|  9996   299181  | 97.3    2.7    0.0    0.0    2.7   52.2 |
     `--------------------------------------------------------------------'

wer after add g2pw: The avg WER of g2p is: 0.028952373312476395

     ,--------------------------------------------------------------------.
     |                         ./exp/g2p/text.g2p                         |
     |--------------------------------------------------------------------|
     | SPKR   | # Snt    # Wrd  | Corr    Sub    Del    Ins    Err  S.Err |
     |--------+-----------------+-----------------------------------------|
     | Sum/Avg|  9996   299181  | 97.2    2.8    0.0    0.1    2.9   53.3 |
     `--------------------------------------------------------------------'

这个表示 g2pw 相比 g2p 并没有多少提升吗?

sixyang avatar Sep 01 '22 09:09 sixyang

original wer of g2p: The avg WER of g2p is: 0.026014352515701198

     ,--------------------------------------------------------------------.
     |        | # Snt    # Wrd  | Corr    Sub    Del    Ins    Err  S.Err |
     |--------+-----------------+-----------------------------------------|
     | Sum/Avg|  9996   299181  | 97.3    2.7    0.0    0.0    2.7   52.2 |
     `--------------------------------------------------------------------'

wer after add g2pw: The avg WER of g2p is: 0.028952373312476395

     ,--------------------------------------------------------------------.
     |                         ./exp/g2p/text.g2p                         |
     |--------------------------------------------------------------------|
     | SPKR   | # Snt    # Wrd  | Corr    Sub    Del    Ins    Err  S.Err |
     |--------+-----------------+-----------------------------------------|
     | Sum/Avg|  9996   299181  | 97.2    2.8    0.0    0.1    2.9   53.3 |
     `--------------------------------------------------------------------'

这个表示 g2pw 相比 g2p 并没有多少提升吗?

可以去 example/other/g2p 查看最新的数据,目前是 0.024

yt605155624 avatar Sep 08 '22 03:09 yt605155624