Coding query

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

1. start by defining a query in a file, e.g. test1.c, then:

CS test1.c $ice (= ...icepahcv0.9/psd/*psd; edit aliases in .bashrc)

2. Now you have created test1.cod. Create another (empty) file, codes.q, and write "print_only: CODING*", then:

CS codes.q test1.cod

3. Now you have created Use grep to delete or search.

grep -v "x" > temp.out [deletes x's]

grep -v "b" temp.out > dataset.out [deletes x's and pipes it in the file dataset.out]