[CWB] Counting tokens, types and segments

Alberto Simões ambs at di.uminho.pt
Sun Dec 12 22:42:56 CET 2010


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


More information about the CWB mailing list