Queries: Difference between revisions
Jump to navigation
Jump to search
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> ... |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
To write a query, open terminal window. Then write vim newfilename.q | To write a query, open terminal window. Then write ''vim newfilename.q''. | ||
In the vim window, press | In the vim window, press ''i'' for "insert". Now write, for example: | ||
< | <pre> | ||
node: IP* | node: IP* | ||
query: (NP-POS* iDoms N-N) | query: (NP-POS* iDoms N-N) | ||
<pre> | </pre> | ||
Now press | Now press ''esc'' and write '':'' and then ''wq'' to save and quit (''q!'' to quit, ''w'' to save without quitting). | ||
To run the query: | To run the query: | ||
Latest revision as of 20:57, 9 June 2010
To write a query, open terminal window. Then write vim newfilename.q.
In the vim window, press i for "insert". Now write, for example:
node: IP* query: (NP-POS* iDoms N-N)
Now press esc and write : and then 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