Queries

From Icelandic Parsed Historical Corpus (IcePaHC)
Revision as of 12:36, 9 June 2010 by Einarfs (Talk | contribs)

Jump to: navigation, search

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 '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