[CWB] Counting tokens, types and segments

Hardie, Andrew a.hardie at lancaster.ac.uk
Sun Dec 12 22:59:46 CET 2010


cwb-lexdecode -S CORPUS ? 

> -----Original Message-----
> From: cwb-bounces at sslmit.unibo.it 
> [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Alberto Simões
> Sent: 12 December 2010 21:43
> To: cwb at sslmit.unibo.it
> Subject: Re: [CWB] Counting tokens, types and segments
> 
> On 12/12/2010 21:39, Alberto Simões wrote:
> > Hello.
> >
> > I am trying to count, using CWB, the number of tokens, types and 
> > segments (annotations of "tu" type).
> >
> > For the first, I am using the size of A = [];
> >
> > For the second, I am being able to: group A matchend word but it 
> > doesn't show me the total number of types.
> >
> > For the last, no idea how to do it... yet.
> 
> This one is easy as well:
>     A = <tu> [];
>     size A;
> 
> Now, missing one :D
> 
> Thanks
> Alberto
> --
> Alberto Simões
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://devel.sslmit.unibo.it/mailman/listinfo/cwb
> 


More information about the CWB mailing list