[CWB] Zero width assertion

Alberto Simões ambs at di.uminho.pt
Wed Feb 8 17:58:10 CET 2012


Hello

There is an undocumented option on CQP language that allows us to say:


     [ lema = "eat" ] [: lema = "pig" :]

meaning that the second word should not be "captured".

Unfortunately it seems that:
  - it needs to be the last word
  - we can't use more than one of these

that is, these doesn't work:
    [: lema = "eat" :] [ lema = "pig" ]
    [ lema = "eat" ] [: lema = "the" :] [: lema = "pig :]

The questions are:
  - is this really not supported, or am I doing anything wrong?
  - would it be possible to implement it?

Thank you,
Alberto


More information about the CWB mailing list