def get_tei_children_for_semantic_content(self, semantic_content: SemanticContentWrapper, context: TeiElementFactoryContext) -> List[etree.ElementBase]:
    LOGGER.debug('semantic_content: %s', semantic_content)
    assert isinstance(semantic_content, SemanticSection)
    semantic_section = semantic_content
    tei_section = TeiElementBuilder(TEI_E('div'))
    for child_semantic_content in semantic_section:
        if isinstance(child_semantic_content, (SemanticFigure, SemanticTable)):
            continue
        tei_section.extend(context.get_tei_child_elements_for_semantic_content(child_semantic_content))
    if (semantic_content.section_type == SemanticSectionTypes.ACKNOWLEDGEMENT):
        tei_section.element.attrib['type'] = 'acknowledgement'
    if (not list(tei_section.element)):
        return []
    return [tei_section.element]
def get_tei_children_for_semantic_content(self, semantic_content: SemanticContentWrapper, context: TeiElementFactoryContext) -> List[etree.ElementBase]:
    LOGGER.debug('semantic_content: %s', semantic_content)
    assert isinstance(semantic_content, SemanticSection)
    semantic_section = semantic_content
    tei_section = TeiElementBuilder(TEI_E('div'))
    for child_semantic_content in semantic_section:
        if isinstance(child_semantic_content, (SemanticFigure, SemanticTable)):
            continue
        tei_section.extend(context.get_tei_child_elements_for_semantic_content(child_semantic_content))
    if (semantic_content.section_type == SemanticSectionTypes.ACKNOWLEDGEMENT):
        tei_section.element.attrib['type'] = 'acknowledgement'
    if (not list(tei_section.element)):
        return []
    return [tei_section.element]