

def _plenum_parseParaElement(para):
    isBold = False
    if (para.find('emphasis') is not None):
        isBold = True
    txt = ''
    for subtext in para.itertext():
        txt += subtext
    return (isBold, txt)

dataset/ETHPy150Open ofri/Open-Knesset/plenum/create_protocol_parts.py _plenum_parseParaElement/original