Hi,

there is no "easy" way.  I would iterate over the annotations,
put the feature values in sets and check the cardinality of the
sets when done.  You've probably figured this out yourself...

--Thilo

Leonardo Mendes wrote:
> Hi folks!
> Is there a simple way to count all different values of a feature in a
> annotation?
> 
> For example:
> 
> TokenAnnotation
>        -WordFeature
>        -POSFeature
> 
> How to know how many POS classes i have in my cas?
> 
> 
> Thanks,
> --
> Leonardo Silva Kury Aragão Mendes
> Bacharel em Ciência da Computação
> (98) 8805 1985
> 
> 
> 
>>
> 

Reply via email to