Blame view

NKJP/validation/checkTokens.sh 272 Bytes
Jan Lupa authored
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
ALL=$(find ../fullCorpus -name 'fold_morph.txt' | wc -l)
COUNTER=1

for f in $(find ../fullCorpus -name 'fold_morph.txt')
do
  echo -ne "\r\e[K$COUNTER/$ALL $f"

  if [[ $(python3 checkTokens.py $f) ]]; then
    echo $f
  fi

  let COUNTER=COUNTER+1
done
echo