mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-19 05:54:20 +00:00
jq install
This commit is contained in:
parent
19dc435f32
commit
c0dde522ec
@ -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