def _pretty_fulltext_sentences(sents):
 outstr = u''
 outstr += u'full-text document ({0.ID}) {0.name}:\n\n'.format(sents)
 outstr += u'[corpid] {0.corpid}\n[corpname] {0.corpname}\n[description] {0.description}\n[URL] {0.URL}\n\n'.format(sents)
 outstr += u'[sentence]\n'.format(sents)
 for (i, sent) in enumerate(sents.sentence):
  outstr += u'[{0}] {1}\n'.format(i, sent.text)
 outstr += u'\n'
 return outstr

def _pretty_fulltext_sentences ( sents ) : outstr = u'' outstr += u'full-text document ({0.ID}) {0.name}:\n\n' . format ( sents ) outstr += u'[corpid] {0.corpid}\n[corpname] {0.corpname}\n[description] {0.description}\n[URL] {0.URL}\n\n' . format ( sents ) outstr += u'[sentence]\n' . format ( sents ) for ( i , sent ) in enumerate ( sents . sentence ) : outstr += u'[{0}] {1}\n' . format ( i , sent . text ) outstr += u'\n' return outstr
helper function for pretty-printing a list of annotated sentences for a full-text document .