commit 7f5a09ccc35be436646d0b181d7e2ce5fb890e93
parent 8ebd5e335fb5a14f41151b62d057cf456ecc5009
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Sat, 24 Dec 2011 00:18:34 +0100
fix frequencies
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lexique2sql.sh b/lexique2sql.sh
@@ -3,6 +3,6 @@
cd "$( dirname "$0" )"
cat - additions | # add custom exceptions
- cut -f 1,2,3,4,7,8,9,10,24,28 | # select relevant fields
+ cut -f 1-8 | # select relevant fields
awk '{FS=" "; OFS=" "; print $1, $2, $3, $4, ($5+$6)/2 + 100*($7+$8)/2}' | # aggregate frequencies
./lexique2sql.py