squelette

find exceptional genders for a noun ending
git clone https://a3nm.net/git/squelette/
Log | Files | Refs

commit c986a44aee22a61d27cc41bffeb5b596085481da
parent 04cb62f9161d7f831a1e05eff5f3665cf2de3491
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sat,  5 Sep 2015 19:33:53 +0200

fix format

Diffstat:
eval.sh | 4++--
prepare.sh | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/eval.sh b/eval.sh @@ -16,8 +16,8 @@ LM=$(($LLM - ${#1})) V=$(bc <<< "$F > $M") if [ "$V" -eq 1 ] then - echo "$1 $2 f $F $M $BM $NF $NM $LF $LM" + echo "$1 $2 f $F $M $BM $NF $NM $LM" else - echo "$1 $2 m $M $F $BF $NM $NF $LM $LF" + echo "$1 $2 m $M $F $BF $NM $NF $LF" fi diff --git a/prepare.sh b/prepare.sh @@ -27,7 +27,7 @@ do done grep -v '0 0 [0-9]* [0-9]*$' eval_raw | awk '$5 > 2 && $7>20' | - awk '{printf "%s %s %s %.5f\n", $1, $2, $3, $10* ($6/$5)*$4/($4+$5)}' | + awk '{printf "%s %s %s %.5f\n", $1, $2, $3, $9* ($6/$5)*$4/($4+$5)}' | sort -k4,4rn | grep -v '^[ 0-9.bcdfghjklmnpqrstvwxzç]*$' > enigmes ./filter.py < enigmes | awk '$4 > 0.57' | cat - <(echo) | ./mkenigme.sh |