Xian Shi
92248eb07b
Merge pull request #274 from dingbig/fix-punc
...
fixed token_int is zero bug and add more puncs to sentence
2023-03-21 17:52:18 +08:00
Yuanhang Zhang
3b3aebb124
Fix timestamp prediction on empty ASR outputs
...
_, timestamp = ts_prediction_lfr6_standard(us_alphas[i],
ValueError: not enough values to unpack (expected 2, got 0)
If char_list is empty, we should still return both the text (which is empty string) and the timestamps to fit the function signature.
2023-03-21 17:23:26 +08:00
dingbig
d80d046365
fixed token_int is zero bug and add more puncs to sentence
...
1)If token_int is 0, the following process will crash. This BUG has been fixed. In fact, when token_int=0, there is no need to continue processing.
2)modify time_stamp_sentence to support more punc.
2023-03-21 17:11:49 +08:00
shixian.shi
f63a72c52e
update tools
2023-03-15 10:22:30 +08:00
shixian.shi
f59a72d24e
release timestasmp related tools
2023-03-15 10:21:32 +08:00
shixian.shi
0b06794fde
bug fix
2023-03-13 20:14:41 +08:00
shixian.shi
9c21bbb96b
bug fix
2023-03-13 19:55:47 +08:00
shixian.shi
4b16316d49
bug fic
2023-03-13 19:53:33 +08:00
shixian.shi
71d466e745
update AverageShiftCalculator in utils
2023-03-13 19:47:42 +08:00
shixian.shi
f5aa97f7bf
update params name
2023-03-13 17:39:18 +08:00
shixian.shi
5a7ee30783
update timestamp related codes and egs_modelscope
2023-03-13 15:21:13 +08:00
shixian.shi
9dd4901aad
rapid_paraformer.utils.timestamp_utils
2023-03-02 19:50:06 +08:00
shixian.shi
57f2a51f9a
onnx supports tiny and bicif paraformer
2023-02-27 16:55:06 +08:00
dingbig
bea5d98423
Add sentence timestamp support
...
Added support for statement event timestamp, which is particularly useful for applications such as lyrics and subtitles.
2023-02-22 19:48:50 +08:00
shixian.shi
03250ae634
timestamp func bug fix
2023-02-21 10:10:17 +08:00
lzr265946
546262a0c6
remove useless code
2023-02-16 15:22:14 +08:00
北念
ad0039596c
add BiCifParaformer
2023-02-09 19:11:16 +08:00
北念
16d4e00549
add BiCifParaformer
2023-02-09 17:53:04 +08:00
jmwang66
12a7adfdf3
update version 0.1.6
2023-01-16 18:46:40 +08:00