[CWB] [ cwb-Bugs-3208730 ] CQP: implicit expansion A^s works only once

SourceForge.net noreply at sourceforge.net
Sun Jun 19 11:54:37 CEST 2011


Bugs item #3208730, was opened at 2011-03-13 10:29
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=722303&aid=3208730&group_id=131809

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: CQP engine
Group: None
Status: Open
Resolution: None
Priority: 6
Private: No
Submitted By: Stefan Evert (schtepf)
Assigned to: Stefan Evert (schtepf)
Summary: CQP: implicit expansion A^s works only once

Initial Comment:
CQP syntax allows the shorthand "A^s" for implicit expansion of a named query result to full sentences (or any other s-attribute); i.e. "A^s" should be equivalent to "A expand to s".  This has been used traditionally for subqueries in sentences containing matches of A, by activating the implicit subcorpus "A^s;".

At least in recent versions of CQP, this doesn't work as expected.  Apparently, "A^s" creates a new named query result, i.e. it is equivalent to the statement "A^s = A expand to s;".  If the named query result A is changed, the next invocation of "A^s" (either as subcorpus activation "A^s;" or in an assignment "B = A^s;") will not re-do the expansion to sentences, but access the previously stored data.

Reproducible example:

[no corpus]> DICKENS;
DICKENS> A = "things";
DICKENS> size A;
914
DICKENS> size A^s;
895
DICKENS> A = "interesting";
DICKENS> size A; 
160
DICKENS> size A^s;
895


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2011-06-19 09:54

Message:
XEXdbZ  <a href="http://nedwflritaia.com/">nedwflritaia</a>,
[url=http://vkguqbhbldxp.com/]vkguqbhbldxp[/url],
[link=http://kdvgqbsrlajm.com/]kdvgqbsrlajm[/link],
http://rgjajfigpcbw.com/

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=722303&aid=3208730&group_id=131809


More information about the CWB mailing list