Querying and correcting with CorpusSearch and CorpusDraw
Queries invoked with CorpusSearch
- CS ordinary-query.q file.psd
- returns ordinary-query.out
which contains only tokens from the parsed file that match the query.
- CS revision-query.q file.psd
- revision-query.q contains copy_corpus: t
returns a copy of the parsed file called file.psd.out in
which tokens matching the revision query are modified in accordance
with the query
- CS revision-query.q file.psd
- revision-query.q doesn't contain copy_corpus: t
returns revision-query.out which contains only tokens
matching the revision query and modified in accordance with it
Queries invoked with CorpusDraw
- CD ordinary-query.q file.psd
- calls up file.psd, but shows only those tokens that match the
query. Editing the tokens and saving the file results in an updated
version of file.psd (called file.psd.new in the
usual way).