SUMMA Grammars
Under directory resources/grammars the Jape grammar create_one_text_annotation.jape shows how to create one single annotation of type TEXT which spans all tokens of a given document (or annotation set if you prefer). This is usefull when you want to create an annotation which will serve as the basis for the creation of a document vector.