commit 903ee46bce8359d3f37cc86a6f84c3af1c44f821 Author: Gourab <19bcs118@iiitdwd.ac.in> Date: Sun Jun 13 10:44:46 2021 +0530 Tweaked coverage script diff --git a/coverage_ben_hin.sh b/coverage_ben_hin.sh index cc2e391..27b0eef 100644 --- a/coverage_ben_hin.sh +++ b/coverage_ben_hin.sh @@ -1,8 +1,7 @@ cat ../apertium-ben/Texts/sample_ben.txt | apertium-destxt | nice -n 19 lt-proc -w ben-hin.automorf.bin | apertium-retxt | sed 's/\$\W*\^/$\n^/g' > /tmp/ben-hin.coverage.txt - TOTAL=`cat /tmp/ben-hin.coverage.txt | wc -l`; KNOWN=`cat /tmp/ben-hin.coverage.txt | grep -v '\*' | wc -l`; COVER=`calc $KNOWN / $TOTAL`; -echo "bho-hin: $COVER" \ No newline at end of file +echo "ben-hin: $COVER" \ No newline at end of file