CAT: an advanced environment for the manual annotation of text and corpora