Sanity checks: Difference between revisions

From Icelandic Parsed Historical Corpus (IcePaHC)
Jump to navigation Jump to search
Einarfs (talk | contribs)
No edit summary
Einarfs (talk | contribs)
No edit summary
Line 16: Line 16:
./lemma.sh filename
./lemma.sh filename
</pre>
</pre>
* If '''bash: ./lemma.sh: Permission denied''', then right-click lemma.sh, select Properties/Permissions and tick the box '''Allow executing file as program'''
* IMPORTANT: filename is WITHOUT THE PSD EXTENSION here
* IMPORTANT: filename is WITHOUT THE PSD EXTENSION here
* Open '''filename.sanity.psd''' in same directory and search for '''ZZZ''', and for each result: fix the parse
* Open '''filename.sanity.psd''' in same directory and search for '''ZZZ''', and for each result: fix the parse

Revision as of 13:58, 10 June 2010

To run the sanity checks on a file:

  • cd into "icecorpus/parsing"
  • run the command:
./sanity.sh filename
  • IMPORTANT: filename is WITHOUT THE PSD EXTENSION here
  • Open filename.sanity.psd in same directory and search for ZZZ, and for each result: fix the parse

For Brynhildur and Hulda:

  • cd into "Dropbox/corpus"
  • run the command:
./lemma.sh filename
  • If bash: ./lemma.sh: Permission denied, then right-click lemma.sh, select Properties/Permissions and tick the box Allow executing file as program
  • IMPORTANT: filename is WITHOUT THE PSD EXTENSION here
  • Open filename.sanity.psd in same directory and search for ZZZ, and for each result: fix the parse