def _annotation_ascii(sent):
 if ((sent._type == u'fulltext_sentence') or ((u'annotationSet' in sent) and (len(sent.annotationSet) > 2))):
  return _annotation_ascii_frames(sent)
 else:
  return _annotation_ascii_FEs(sent)

def _annotation_ascii ( sent ) : if ( ( sent . _type == u'fulltext_sentence' ) or ( ( u'annotationSet' in sent ) and ( len ( sent . annotationSet ) > 2 ) ) ) : return _annotation_ascii_frames ( sent ) else : return _annotation_ascii_FEs ( sent )
given a sentence or fe annotation set .