'Load a sentence from a subcorpus of an LU from xml.'

def _handle_lusentence_elt(self, elt):

    info = self._load_xml_attributes(AttrDict(), elt)
    info[u'_type'] = u'lusentence'
    info[u'annotationSet'] = []
    info[u'_ascii'] = types.MethodType(_annotation_ascii, info)
    for sub in elt:
        if sub.tag.endswith(u'text'):
            info[u'text'] = self._strip_tags(sub.text)
        elif sub.tag.endswith(u'annotationSet'):
            annset = self._handle_luannotationset_elt(sub, is_pos=(len(info[u'annotationSet']) == 0))
            if (annset is not None):
                assert ((annset.status == u'UNANN') or (u'FE' in annset)), annset
                if (annset.status != u'UNANN'):
                    info[u'frameAnnotation'] = annset
                for k in (u'Target', u'FE', u'FE2', u'FE3', u'GF', u'PT', u'POS', u'POS_tagset', u'Other', u'Sent', u'Verb', u'Noun', u'Adj', u'Adv', u'Prep', u'Scon', u'Art'):
                    if (k in annset):
                        info[k] = annset[k]
                info[u'annotationSet'].append(annset)
                annset[u'sent'] = info
                annset[u'text'] = info.text
    return info
