Thanks Serge and Andrew. The command worked perfectly and allowed me to discover some serious problems in the corpus (lots of things that were not 'pos' were considered to 'pos'. I will certainly have a look at TXM. I've visited their site and it looks like a very interesting and powerful tool. Josep M.