Difference between revisions of "Sanity checks"

From Icelandic Parsed Historical Corpus (IcePaHC)
Jump to: navigation, search

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 863

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 864

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 589

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 589

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 241

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 242

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 241

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 242

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 241

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 242

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 863

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 864

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 589

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 589

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 610

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 241

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 242

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 241

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 242

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 241

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 242

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/linguist/public_html/wiki/includes/diff/DairikiDiff.php on line 956
 
Line 9: Line 9:
 
* 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
  
−
For Brynhildur and Hulda:
+
'''For Brynhildur and Hulda''':
  
 
* '''cd''' into "Dropbox/corpus"
 
* '''cd''' into "Dropbox/corpus"
Line 22: Line 22:
 
To open CorpusDraw and find '''only''' sentences with ZZZ:
 
To open CorpusDraw and find '''only''' sentences with ZZZ:
  
−
Make the query ZZZ.q:
+
Make the query zzz.q (it already exists in Dropbox/corpus):
  
 
<pre>
 
<pre>

Latest revision as of 12:19, 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

To open CorpusDraw and find only sentences with ZZZ:

Make the query zzz.q (it already exists in Dropbox/corpus):

node: $ROOT
query: (*ZZZ* exists)

Now open terminal window and write:

CD zzz.q filename.sanity.psd

Start fixing the parse.