CorpusSearch Reference Page


search functions

logical operators

exists(exists anywhere in sentence)
precedes(sister precedes)
iPrecedes(immediately sister precedes)
anyPrecedes(precedes anywhere)
iDominates(immediately dominates)
iDomsOnly(immediately dominates only child)
iDomsNumber#(immediately dominates first, second, etc. child)
iDomsLast#(immediately dominates last, second-to-last, etc. child)
DomsWords#(dominates # of words)
DomsWords>#(dominates more than # of words)
DomsWords<#(dominates less than # of words)
iDomsTotal#(dominates # of daughters)
iDomsTotal>#(dominates more than # of daughters)
iDomsTotal<#(dominates less than # of daughters)
column#(searches coding node)
inID(searches ID node)
AND(and-condition)
!(not-argument)
|(or-argument)

wild cards

*matches 0 or more characters
#matches any digit(s) (0, 1, ... 9)


search commands

printing commands

commanddefault
node:no default
query:no default
ignore_nodes:CODE|LB|'|\"|,|E_S
add_to_ignore: adds labels to default
define: <my.def>includes definition file
commanddefault
print_indices:true
nodes_only:true
remove_nodes:false
only_ur_text:false
print_complement:false

to run CorpusSearch:

Windows/Mac: double-click on CSearch icon and follow directions on screen

unix/linux:
automatic output file (command.out)
java CorpusSearch command.q input-files 
to redirect output (my_name.out)
java CorpusSearch command.q inputfile(s) -out my_name.out

Query file names must end in .q. Output file names always end in .out