Difference between revisions of "Queries"

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 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 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 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 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 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
(New page: To write a query, open terminal window. Then write vim newfilename.q In the vim window, press <i> for 'insert'. Now write, for example: </pre> node: IP* query: (NP-POS* iDoms N-N) <pre> ...)
 
Line 3: Line 3:
 
In the vim window, press <i> for 'insert'. Now write, for example:
 
In the vim window, press <i> for 'insert'. Now write, for example:
  
</pre>
+
<pre>
 
node: IP*
 
node: IP*
 
query: (NP-POS* iDoms N-N)
 
query: (NP-POS* iDoms N-N)
<pre>
+
</pre>
  
 
Now press <esc> and write <wq> to save and quit (<q!> to quit, <w> to save without quitting).
 
Now press <esc> and write <wq> to save and quit (<q!> to quit, <w> to save without quitting).

Revision as of 12:35, 9 June 2010

To write a query, open terminal window. Then write vim newfilename.q

In the vim window, press for 'insert'. Now write, for example:

node: IP*
query: (NP-POS* iDoms N-N)

Now press <esc> and write <wq> to save and quit (<q!> to quit, <w> to save without quitting).

To run the query:

CS newfilename.q $ice

To view the results:

vim newfilename.out