fix count of lines in output, add name of original file to outputs
This commit is contained in:
parent
6fd015290c
commit
fa3b6bc744
7
.gitignore
vendored
7
.gitignore
vendored
@ -1,6 +1,13 @@
|
|||||||
/models/fr/*
|
/models/fr/*
|
||||||
|
/models/en/*
|
||||||
!/input/demo.wav
|
!/input/demo.wav
|
||||||
|
/input/*.ogg
|
||||||
|
/input/*.mp4
|
||||||
|
/input/*.mkv
|
||||||
|
/input/*.flac
|
||||||
|
/input/*.mp3
|
||||||
/input/converted_to_wav/*.wav
|
/input/converted_to_wav/*.wav
|
||||||
|
/input/already_converted/*
|
||||||
/output/**/*.txt
|
/output/**/*.txt
|
||||||
/output/**/*.csv
|
/output/**/*.csv
|
||||||
/output/**/*.json
|
/output/**/*.json
|
||||||
|
@ -47,7 +47,7 @@ sed 's/^ *//; s/ *$//; /^$/d' $OUT_DIR/2_without_nulls_$FILE_NAME.txt > $OUT_DIR
|
|||||||
sed 's/\"//g' $OUT_DIR/3_without_nulls_$FILE_NAME.txt > $OUT_DIR/4_phrases_$FILE_NAME.txt
|
sed 's/\"//g' $OUT_DIR/3_without_nulls_$FILE_NAME.txt > $OUT_DIR/4_phrases_$FILE_NAME.txt
|
||||||
echo "########### $(date) : OK "
|
echo "########### $(date) : OK "
|
||||||
echo " "
|
echo " "
|
||||||
COUNT_LINES=$(cat $OUT_DIR/phrases_$FILE_NAME.txt |wc -l)
|
COUNT_LINES=$(cat $OUT_DIR/4_phrases_$FILE_NAME.txt |wc -l)
|
||||||
cat $OUT_DIR/4_phrases_$FILE_NAME.txt
|
cat $OUT_DIR/4_phrases_$FILE_NAME.txt
|
||||||
echo " "
|
echo " "
|
||||||
echo "########### $(date) : lignes transcriptes $COUNT_LINES "
|
echo "########### $(date) : lignes transcriptes $COUNT_LINES "
|
||||||
|
Loading…
Reference in New Issue
Block a user