[CWB] In which exact novels do I find a searched word?
Hardie, Andrew
a.hardie at lancaster.ac.uk
Sat May 3 17:46:43 CEST 2014
If you run the command
set PrintStructures "text_id"
(or, instead of "text", whatever the s-attribute that the "id" annotation sits on is - you didn't specify)
then when you "cat" your query, it will show the value of the id attribute for each concordance line.
See http://cwb.sourceforge.net/files/CQP_Tutorial/node9.html
best
Andrew.
From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Teresa Molés Cases
Sent: 03 May 2014 16:41
To: Open source development of the Corpus WorkBench
Subject: [CWB] In which exact novels do I find a searched word?
Hi:
I have one question about cqp queries that I don't find in the manual.
I've indexed a parallel corpus (German-Spanish) with 10 pairs of novels (German novels were named id=ST1, id= ST2, id=ST3... id=ST10, etc.) (Spanish novels were named id=TT1, id=TT2, ... id=T10, etc.). The cqp queries in the indexed corpus work perfectly, but now I need to look for some words in the German novels and get the following information: in which exact novels do I find the searched word?
For instance, if I look for "Angst", I want to know in which novels (from ST1 to ST10) does this word appear. How can I get this information?
Thank you very much in advance!
Teresa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20140503/d2f5380b/attachment.html>
More information about the CWB
mailing list