Logo

GitLab

Sign in

Wojciech Jaworski / ENIAM

  • Back to Dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • ENIAM
  • NKJP
  • postProcessing
  • fixForms.sh
  • Added a corrected version of the NKJP parser.
    ccccf722
    Jan Lupa authored
    2017-01-14 02:17:41 +0100  
    Browse Code ยป
fixForms.sh 272 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/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"

  cp $f tmp.txt
  python3 fixForms.py tmp.txt > $f

  let COUNTER=COUNTER+1
done

rm tmp.txt
echo