mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 01:52:41 +00:00
Code checks for pruned rnnt2 wenetspeech (#451)
* code check * jq install
This commit is contained in:
parent
bfa8264697
commit
29e407fd04
@ -191,7 +191,9 @@ if [ $stage -le 15 ] && [ $stop_stage -ge 15 ]; then
|
|||||||
|
|
||||||
# Prepare text.
|
# Prepare text.
|
||||||
# Note: in Linux, you can install jq with the following command:
|
# Note: in Linux, you can install jq with the following command:
|
||||||
# wget -O jq https://github.com/stedolan/jq/release/download/jq-1.6/jq-linux64
|
# 1. wget -O jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
|
||||||
|
# 2. chmod +x ./jq
|
||||||
|
# 3. cp jq /usr/bin
|
||||||
if [ ! -f $lang_char_dir/text ]; then
|
if [ ! -f $lang_char_dir/text ]; then
|
||||||
gunzip -c data/manifests/supervisions_L.jsonl.gz \
|
gunzip -c data/manifests/supervisions_L.jsonl.gz \
|
||||||
| jq 'text' | sed 's/"//g' \
|
| jq 'text' | sed 's/"//g' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user