[CWB] Max recursion

Øyvind Eide oyvind.eide at iln.uio.no
Fri Dec 7 11:33:12 CET 2012


Great, Andrew, thank you very much!

Regards,

Øyvind

On 6. des. 2012, at 20:12, Hardie, Andrew wrote:

> Yes, you set it in the declaration of the s-attribute:
> 
> -S att:N
> 
> where N is the maximum amount of recursion you want to allow!
> 
> Note, however, that the main "tag" of a nested region will be subscripted with a number indicating how deep it is. That is, if you declare:
> 
> -S tag:10
> 
> you end up with the s-attributes tag, tag1, tag2, tag3, tag4... etc.
> 
> See also the section ATTRIBUTE DECLARATIONS in `man cwb-encode`.
> 
> best
> 
> Andrew.
> 
> -----Original Message-----
> From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Øyvind Eide
> Sent: 06 December 2012 10:03
> To: Open source development of the Corpus WorkBench
> Subject: [CWB] Max recursion
> 
> Dear list,
> 
> In running cwb-encode on an input file with a lot of structural tags I get the following type of messages:
> 
> 26 <element> regions dropped because of deep nesting.
> 
> I found the variable max_recursion in cwb-encode.c. Can I set this variable as part of the cwb-encode command in order to get deeper nesting?
> 
> -- 
> 
> Kind regards,
> Øyvind Eide
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://devel.sslmit.unibo.it/mailman/listinfo/cwb
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://devel.sslmit.unibo.it/mailman/listinfo/cwb



More information about the CWB mailing list