[CWB] Max recursion
Hardie, Andrew
a.hardie at lancaster.ac.uk
Thu Dec 6 20:12:42 CET 2012
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
More information about the CWB
mailing list