[CWB] follow-up questions about aligned corpora

lars nygaard lars.nygaard at iln.uio.no
Tue Feb 20 15:01:26 CET 2007


Joerg Tiedemann wrote:
> * how do I get aligned regions for a given corpus position in the source 
>   language? is that easy to do and fast to retrieve?
>   
I don't think there is any easy way to do that.
> * can I restrict queries to get only results for which there are aligned 
>   regions? I have to deal with partially aligned corpora and I don't want 
>   to see matches with (no alignment found). Now I do post filtering but 
>   that isn't very effecient. I just tried to add dummy queries for the 
>   target languages (".*") and that actually seems to work. But maybe there 
>   is a better way of doing this?!
>   
I generally use a []-token:

    "Clinton" :ALIGNED_CORPUS [];

There does not seem to be any marked speed penalty.

cheers,
lars




More information about the CWB mailing list