question: private void export_text ( JCas jcas ) { StringBuilder text = new StringBuilder ( ) ; String documentId ; for ( Token token : select ( jcas , Token . class ) ) { text . append ( token . getCoveredText ( ) + " " ) ; } try { DocumentMetaData d = DocumentMetaData . get ( jcas ) ; documentId = d . getDocumentId ( ) ; } catch ( IllegalArgumentException e ) { documentId = "generic-" + textId ; } writeToFile ( "text" , textId , documentId , text . toString ( ) ) ; }
target:  Write text.tab<br> id | some-text-identifier | text