Skip to content

Commit

Permalink
[scripts] switch from bc to perl to reduce dependencies (diarization …
Browse files Browse the repository at this point in the history
…scripts) (#2956)
  • Loading branch information
mmaciej2 authored and danpovey committed Jan 1, 2019
1 parent ca32c4e commit 1ea2ba7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ if [ $stage -le 0 ]; then
fi
utils/data/get_uniform_subsegments.py \
--max-segment-duration=$window \
--overlap-duration=$(echo "$window-$period" | bc) \
--overlap-duration=$(perl -e "print $window-$period") \
--max-remaining-duration=$min_segment \
--constant-duration=True \
$segments > $dir/subsegments
Expand Down

0 comments on commit 1ea2ba7

Please sign in to comment.