[CWB] Counting tokens, types and segments

Alberto Simões ambs at di.uminho.pt
Sun Dec 12 23:05:29 CET 2010



On 12/12/2010 21:59, Hardie, Andrew wrote:
> cwb-lexdecode -S CORPUS ?

Stefan's mail got here faster. Thank you, anyway :D

>
>> -----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
>>
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://devel.sslmit.unibo.it/mailman/listinfo/cwb

-- 
Alberto Simões


More information about the CWB mailing list