# NOT RUN {
cqi_query("DICKENS","Foo","\"eas(y|ier|iest)\";")
cpos <- cqi_dump_subcorpus("DICKENS:Foo")[1:20,1]
cqi_cpos2id("DICKENS.pos", cpos)
cqi_cpos2str("DICKENS.pos", cpos)
cqi_cpos2id("DICKENS.word", cpos)
cqi_cpos2str("DICKENS.word", cpos)
cqi_cpos2id("DICKENS.lemma", cpos)
cqi_cpos2str("DICKENS.lemma", cpos)
cqi_query("DICKENS","Foo","\"interesting\";")
cpos <- cqi_dump_subcorpus("DICKENS:Foo",1,10)[,1]
# Expects structural attributes
cqi_cpos2lbound("DICKENS.chapter", cpos)
cqi_cpos2rbound("DICKENS.chapter", cpos)
cqi_cpos2struc("DICKENS.chapter", cpos)
# }
Run the code above in your browser using DataLab